From 69a711a4a461360543c27be6a775cab6b49ff936 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Sat, 11 Nov 2023 19:48:08 -0500 Subject: [PATCH] Added some fancy intents to try to fix BreadBots deafness to new messages --- breadbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breadbot.js b/breadbot.js index 4c1981b..b46149a 100644 --- a/breadbot.js +++ b/breadbot.js @@ -26,7 +26,7 @@ const getAllFiles = function(directoryPath, arrayOfFiles) { const allFiles = []; getAllFiles('.' + path.sep + 'commands', allFiles); -const client = new Client({ intents: [GatewayIntentBits.Guilds] }); +const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMembers, GatewayIntentBits.MessageContent] }); client.commands = new Collection();