master
Matthew 2024-10-24 20:40:26 -04:00
parent 68bc72a0c4
commit 4dddc4c316
Signed by: matthew
SSH Key Fingerprint: SHA256:piIXekA9q1p0ZGi4ogFbNY1embip5Ytbi3v8AZ8UYq4
2 changed files with 3 additions and 1 deletions

View File

@ -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";

View File

@ -13,6 +13,7 @@ export const DiscordEvents: Collection<DiscordEvent> = 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 });