-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathintents.js
25 lines (23 loc) · 1.65 KB
/
intents.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const { GatewayIntentBits } = require('discord.js');
const intents = [
GatewayIntentBits.Guilds, // Guild-related events
GatewayIntentBits.GuildMembers, // Member updates (join, leave, role changes)
GatewayIntentBits.GuildModeration, // Moderation events (bans, unbans)
GatewayIntentBits.GuildExpressions, // Guild emojis + stickers
GatewayIntentBits.GuildIntegrations, // Integration updates
GatewayIntentBits.GuildWebhooks, // Webhook updates
GatewayIntentBits.GuildInvites, // Invite creation and deletion
GatewayIntentBits.GuildVoiceStates, // Voice state updates
GatewayIntentBits.GuildPresences, // Presence updates (online/offline status)
GatewayIntentBits.GuildMessages, // Messages sent in guilds
GatewayIntentBits.GuildMessageReactions, // Reactions added to guild messages
GatewayIntentBits.GuildMessageTyping, // Typing indicators in guilds
GatewayIntentBits.DirectMessages, // Direct messages received
GatewayIntentBits.DirectMessageReactions, // Reactions in direct messages
GatewayIntentBits.DirectMessageTyping, // Typing indicators in direct messages
GatewayIntentBits.MessageContent, // Access to message content
GatewayIntentBits.GuildScheduledEvents, // Scheduled events in guilds
GatewayIntentBits.AutoModerationConfiguration, // Auto-moderation rule configurations
GatewayIntentBits.AutoModerationExecution // Auto-moderation actions
];
module.exports.intents = intents;