From 716a4532a1e7f89f007b7907c49d1d90d256a46e Mon Sep 17 00:00:00 2001 From: artie Date: Sat, 15 Feb 2025 19:57:34 +0100 Subject: [PATCH] set contexts --- src/client.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client.ts b/src/client.ts index ce70d33..c005948 100644 --- a/src/client.ts +++ b/src/client.ts @@ -4,6 +4,7 @@ import { Client, Collection, GatewayIntentBits, + InteractionContextType, Partials, } from "discord.js"; import { REST } from "@discordjs/rest"; @@ -113,6 +114,11 @@ export class ArtemisClient extends Client { ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall ) + .setContexts([ + InteractionContextType.BotDM, + InteractionContextType.Guild, + InteractionContextType.PrivateChannel, + ]) .toJSON() ); const ownerCommands = this.commands