Skip to content

Commit

Permalink
[New] Readded GUILD_MEMBERS intent and added GUILD_BANS intent
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Sep 2, 2021
1 parent 7d695aa commit c1bdff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ const { Client, Collection, Intents } = require("discord.js");
const { token } = require("./config.json");
const client = new Client({
intents: [
// Intents.FLAGS.GUILD_MEMBERS,
Intents.FLAGS.GUILD_MEMBERS,
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.GUILD_VOICE_STATES,
Intents.FLAGS.GUILD_BANS,
],
restRequestTimeout: 30000,
});
Expand Down

0 comments on commit c1bdff0

Please sign in to comment.