diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/discord/commands.ts | 2 | ||||
| -rw-r--r-- | src/discord/interfaces.ts | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/discord/commands.ts b/src/discord/commands.ts index 5f25097..601591b 100644 --- a/src/discord/commands.ts +++ b/src/discord/commands.ts @@ -61,6 +61,7 @@ export const TOP_COMMAND: DiscordCommand = { export const COMPLAIN_COMMAND: DiscordCommand = { name: "complain", description: "Submit a complaint to the moderators", + contexts: [0], options: [ { type: 3, @@ -74,6 +75,7 @@ export const COMPLAIN_COMMAND: DiscordCommand = { export const APPEAL_COMMAND: DiscordCommand = { name: "appeal", description: "Submit an appeal to the moderators", + contexts: [0], options: [ { type: 3, diff --git a/src/discord/interfaces.ts b/src/discord/interfaces.ts index 63b8e82..bc8683c 100644 --- a/src/discord/interfaces.ts +++ b/src/discord/interfaces.ts @@ -69,6 +69,7 @@ export interface DiscordCommand { name: string; description: string; options?: DiscordCommandOption[]; + contexts?: number[]; } export interface DiscordCommandOption { |