feat(lib/client): now adding all the Gateway needed for the bot
This commit is contained in:
parent
d90746b07c
commit
d121765e88
1 changed files with 10 additions and 5 deletions
|
|
@ -1,13 +1,18 @@
|
|||
import {
|
||||
Client,
|
||||
GatewayIntentBits,
|
||||
} from 'discord.js';
|
||||
import { Client, GatewayIntentBits } from 'discord.js';
|
||||
|
||||
export const client: Client = new Client({
|
||||
intents: [
|
||||
GatewayIntentBits.Guilds,
|
||||
GatewayIntentBits.GuildModeration,
|
||||
GatewayIntentBits.GuildMembers,
|
||||
GatewayIntentBits.GuildMessages,
|
||||
GatewayIntentBits.MessageContent,
|
||||
GatewayIntentBits.GuildMembers,
|
||||
GatewayIntentBits.GuildMessageReactions,
|
||||
GatewayIntentBits.GuildMessageTyping,
|
||||
GatewayIntentBits.GuildVoiceStates,
|
||||
GatewayIntentBits.DirectMessages,
|
||||
GatewayIntentBits.DirectMessageReactions,
|
||||
GatewayIntentBits.AutoModerationConfiguration,
|
||||
GatewayIntentBits.AutoModerationExecution,
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue