I'm pretty sure I used the wrong intent
This commit is contained in:
parent
27e9fdb743
commit
944f8d4e72
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user