initial music stuff
This commit is contained in:
@@ -3,7 +3,12 @@ const path = require('node:path');
|
||||
const { Client, Collection, Events, GatewayIntentBits, MessageFlags } = require('discord.js');
|
||||
const { token } = require('./config.json');
|
||||
|
||||
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
|
||||
const client = new Client({
|
||||
intents: [
|
||||
GatewayIntentBits.Guilds,
|
||||
GatewayIntentBits.GuildVoiceStates,
|
||||
],
|
||||
});
|
||||
|
||||
client.cooldowns = new Collection();
|
||||
client.commands = new Collection();
|
||||
|
||||
Reference in New Issue
Block a user