Add Discord GatewayIntentBits.DirectMessages to client initialization in index.js
This commit is contained in:
parent
970678c701
commit
e4bee9f501
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -11,7 +11,8 @@ const client = new Discord.Client({
|
|||
Discord.GatewayIntentBits.Guilds,
|
||||
Discord.GatewayIntentBits.GuildMembers,
|
||||
Discord.GatewayIntentBits.GuildMessages,
|
||||
Discord.GatewayIntentBits.MessageContent
|
||||
Discord.GatewayIntentBits.MessageContent,
|
||||
Discord.GatewayIntentBits.DirectMessages
|
||||
]
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue