Skip to content

Commit 354af81

Browse files
committed
chore(deployment): typo
1 parent 4ace78d commit 354af81

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/deployFunctions/auxtypes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
export enum PrerepeaseApplicationCommandContextType {
1+
export enum PreReleaseApplicationCommandContextType {
22
Guild,
33
BotDm,
44
PrivateChannel,
55
}
66

7-
export enum PrerepeaseApplicationIntegrationType {
7+
export enum PreReleaseApplicationIntegrationType {
88
GuildInstall,
99
UserInstall,
1010
}

src/deployFunctions/deploy.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { config } from 'dotenv';
55
import { fetch } from 'undici';
66
import { API_BASE_DISCORD } from '../util/constants.js';
77
import { logger } from '../util/logger.js';
8-
import { PrerepeaseApplicationCommandContextType, PrerepeaseApplicationIntegrationType } from './auxtypes.js';
8+
import { PreReleaseApplicationCommandContextType, PreReleaseApplicationIntegrationType } from './auxtypes.js';
99

1010
config({ path: resolve(dirname(fileURLToPath(import.meta.url)), '../../.env') });
1111

@@ -27,13 +27,13 @@ export async function deploy(data: any, dev = false) {
2727
: data.map((command: any) => ({
2828
...command,
2929
integration_types: [
30-
PrerepeaseApplicationIntegrationType.UserInstall,
31-
PrerepeaseApplicationIntegrationType.GuildInstall,
30+
PreReleaseApplicationIntegrationType.UserInstall,
31+
PreReleaseApplicationIntegrationType.GuildInstall,
3232
],
3333
contexts: [
34-
PrerepeaseApplicationCommandContextType.Guild,
35-
PrerepeaseApplicationCommandContextType.PrivateChannel,
36-
PrerepeaseApplicationCommandContextType.BotDm,
34+
PreReleaseApplicationCommandContextType.Guild,
35+
PreReleaseApplicationCommandContextType.PrivateChannel,
36+
PreReleaseApplicationCommandContextType.BotDm,
3737
],
3838
})),
3939
),

0 commit comments

Comments
 (0)