I'm pretty sure I used the wrong intent

This commit is contained in:
Bradley Bickford 2023-11-12 10:07:52 -05:00
parent 27e9fdb743
commit 944f8d4e72

View File

@ -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();