diff options
| author | Fuwn <[email protected]> | 2025-09-24 02:41:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-24 02:41:29 -0700 |
| commit | 34999aff50c56244bc00fbdb01c2d3de2fd56119 (patch) | |
| tree | 8f3ece6488d05f26e9e24013d2cb801af5fd7cfd /src/discord/commands.ts | |
| parent | feat: Appeal slash command (diff) | |
| download | umabotdiscord-34999aff50c56244bc00fbdb01c2d3de2fd56119.tar.xz umabotdiscord-34999aff50c56244bc00fbdb01c2d3de2fd56119.zip | |
feat: Restrict complain and appeal commands to DMs
Diffstat (limited to 'src/discord/commands.ts')
| -rw-r--r-- | src/discord/commands.ts | 2 |
1 files changed, 2 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, |