modify GatewayIntentBits

This commit is contained in:
Nico Jensen 2022-12-13 10:03:07 +01:00
parent b0c9b9fdb2
commit 7e13deda75

View File

@ -2,7 +2,7 @@ require("dotenv").config()
const fs = require("fs") const fs = require("fs")
const {Client, Collection, GatewayIntentBits} = require('discord.js'); 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() client.commands = new Collection()