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 });