-
Notifications
You must be signed in to change notification settings - Fork 3
/
intents.js
21 lines (20 loc) · 922 Bytes
/
intents.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const { IntentsBitField } = require('discord.js');
const intents = new IntentsBitField();
module.exports = intents.add(
IntentsBitField.Flags.DirectMessageReactions,
IntentsBitField.Flags.DirectMessageTyping,
IntentsBitField.Flags.DirectMessages,
IntentsBitField.Flags.GuildEmojisAndStickers,
IntentsBitField.Flags.GuildIntegrations,
IntentsBitField.Flags.GuildInvites,
// IntentsBitField.Flags.GuildMembers, // Privileged Gateway Intents
IntentsBitField.Flags.GuildMessageReactions,
IntentsBitField.Flags.GuildMessageTyping,
IntentsBitField.Flags.GuildMessages,
// IntentsBitField.Flags.GuildPresences, // Privileged Gateway Intents
IntentsBitField.Flags.GuildVoiceStates,
IntentsBitField.Flags.GuildScheduledEvents,
IntentsBitField.Flags.GuildWebhooks,
IntentsBitField.Flags.Guilds,
// IntentsBitField.Flags.MessageContent // Privileged Gateway Intents
);