summaryrefslogtreecommitdiff
path: root/packages/interactions
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-10-03 18:44:50 -0700
committerFuwn <[email protected]>2025-10-03 18:44:50 -0700
commit0940ab2bd4c0cf36058a90e40ba12a2483959462 (patch)
tree2fcecdc4bab1c48b5590773b48cb401654350971 /packages/interactions
parentrefactor(gateway:aiCommandHandler): Use OpenAI package (diff)
downloadumabotdiscord-0940ab2bd4c0cf36058a90e40ba12a2483959462.tar.xz
umabotdiscord-0940ab2bd4c0cf36058a90e40ba12a2483959462.zip
fix(interactions:commands): Allow BOT_DM context for certain slash commands
Diffstat (limited to 'packages/interactions')
-rw-r--r--packages/interactions/discord/commands/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/interactions/discord/commands/index.ts b/packages/interactions/discord/commands/index.ts
index 0825d66..2c39b28 100644
--- a/packages/interactions/discord/commands/index.ts
+++ b/packages/interactions/discord/commands/index.ts
@@ -61,7 +61,7 @@ export const TOP_COMMAND: DiscordCommand = {
export const COMPLAIN_COMMAND: DiscordCommand = {
name: "complain",
description: "Submit a complaint to the moderators",
- contexts: [0],
+ contexts: [0, 1],
options: [
{
type: 3,
@@ -75,7 +75,7 @@ export const COMPLAIN_COMMAND: DiscordCommand = {
export const APPEAL_COMMAND: DiscordCommand = {
name: "appeal",
description: "Submit an appeal to the moderators",
- contexts: [0],
+ contexts: [0, 1],
options: [
{
type: 3,
@@ -89,7 +89,7 @@ export const APPEAL_COMMAND: DiscordCommand = {
export const NSFW_APPLY_COMMAND: DiscordCommand = {
name: "nsfw-apply",
description: "Submit an NSFW access application to the moderators",
- contexts: [0],
+ contexts: [0, 1],
options: [
{
type: 3,