modify GatewayIntentBits
This commit is contained in:
parent
b0c9b9fdb2
commit
7e13deda75
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user