diff --git a/src/index.js b/src/index.js index 84cd78c..d1225c3 100644 --- a/src/index.js +++ b/src/index.js @@ -2,7 +2,7 @@ require("dotenv").config() const fs = require("fs") const {Client, Collection, GatewayIntentBits} = require('discord.js'); -const client = new Client({intents: [GatewayIntentBits.FLAGS.GUILDS, GatewayIntentBits.FLAGS.GUILD_VOICE_STATES, GatewayIntentBits.FLAGS.GUILDS, GatewayIntentBits.FLAGS.GUILD_MEMBERS]}); +const client = new Client({intents: [GatewayIntentBits.GUILDS, GatewayIntentBits.GUILD_VOICE_STATES, GatewayIntentBits.GUILD_MEMBERS]}); client.commands = new Collection()