From e4bee9f50190253575c7a1c5d9dbf189126b1d00 Mon Sep 17 00:00:00 2001 From: ShadowVirtual Date: Tue, 30 Apr 2024 18:05:07 -0800 Subject: [PATCH] Add Discord GatewayIntentBits.DirectMessages to client initialization in index.js --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 1180975..4eb5e00 100644 --- a/index.js +++ b/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 ] });