From 4dddc4c3163722fe6bb5862ebc9827a31dcd16ab Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 24 Oct 2024 20:40:26 -0400 Subject: [PATCH] index --- discord/commands/index.ts | 1 + index.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/commands/index.ts b/discord/commands/index.ts index be3f554..96cf55a 100644 --- a/discord/commands/index.ts +++ b/discord/commands/index.ts @@ -1,3 +1,4 @@ +export { default as Eval } from "./Eval"; export { default as Partner } from "./Partner"; export { default as Ping } from "./Ping"; export { default as Whois } from "./Whois"; diff --git a/index.ts b/index.ts index 3247476..8063e56 100644 --- a/index.ts +++ b/index.ts @@ -13,6 +13,7 @@ export const DiscordEvents: Collection = new Collection(); // Instantiates a new Discord client const discordClient = new Client({ intents: [ + GatewayIntentBits.DirectMessages, GatewayIntentBits.GuildIntegrations, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessages, @@ -20,7 +21,7 @@ const discordClient = new Client({ GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildModeration, ], - partials: [ Partials.GuildMember, Partials.Message, Partials.User], + partials: [ Partials.GuildMember, Partials.Message, Partials.User, Partials.Channel, ], }); const discordREST = new REST().setToken(discordBotToken); // const stripeClient = new Stripe(stripeToken, { typescript: true });