index
parent
68bc72a0c4
commit
4dddc4c316
|
@ -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";
|
||||
|
|
3
index.ts
3
index.ts
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue