From 944f8d4e72b6671672736b023ac74b342c07494a Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Sun, 12 Nov 2023 10:07:52 -0500 Subject: [PATCH] I'm pretty sure I used the wrong intent --- breadbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breadbot.js b/breadbot.js index 58b7acf..9790afb 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, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMembers, GatewayIntentBits.MessageContent, GatewayIntentBits.VoiceStateUpdate] }); +const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMembers, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildVoiceStates] }); client.commands = new Collection();