From 997bdbc6347f83912beb28571ab3b9f01b4bed25 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 6 Jul 2025 20:16:29 +0200 Subject: [PATCH] Use discord names for intents --- src/util/util/Intents.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util/util/Intents.ts b/src/util/util/Intents.ts index 611d2da4..b7ade85d 100644 --- a/src/util/util/Intents.ts +++ b/src/util/util/Intents.ts @@ -22,22 +22,22 @@ export class Intents extends BitField { static FLAGS = { GUILDS: BigInt(1) << BigInt(0), // guilds and guild merge-split events affecting the user GUILD_MEMBERS: BigInt(1) << BigInt(1), // memberships - GUILD_BANS: BigInt(1) << BigInt(2), // bans and ban lists - GUILD_EMOJIS: BigInt(1) << BigInt(3), // custom emojis + GUILD_MODERATION: BigInt(1) << BigInt(2), // bans and ban lists + GUILD_EXPRESSIONS: BigInt(1) << BigInt(3), // custom emojis GUILD_INTEGRATIONS: BigInt(1) << BigInt(4), // applications GUILD_WEBHOOKS: BigInt(1) << BigInt(5), // webhooks GUILD_INVITES: BigInt(1) << BigInt(6), // mass invites (no user can receive user specific invites of another user) GUILD_VOICE_STATES: BigInt(1) << BigInt(7), // voice updates GUILD_PRESENCES: BigInt(1) << BigInt(8), // presence updates - GUILD_MESSAGES_METADATA: BigInt(1) << BigInt(9), // guild message metadata + GUILD_MESSAGES: BigInt(1) << BigInt(9), // guild message metadata GUILD_MESSAGE_REACTIONS: BigInt(1) << BigInt(10), // guild message reactions GUILD_MESSAGE_TYPING: BigInt(1) << BigInt(11), // guild channel typing notifications DIRECT_MESSAGES: BigInt(1) << BigInt(12), // DM or orphan channels DIRECT_MESSAGE_REACTIONS: BigInt(1) << BigInt(13), // DM or orphan channel message reactions DIRECT_MESSAGE_TYPING: BigInt(1) << BigInt(14), // DM typing notifications GUILD_MESSAGES_CONTENT: BigInt(1) << BigInt(15), // guild message content - GUILD_POLICIES: BigInt(1) << BigInt(20), // guild policies - GUILD_POLICY_EXECUTION: BigInt(1) << BigInt(21), // guild policy execution + AUTO_MODERATION_CONFIGURATION: BigInt(1) << BigInt(20), // guild policies + AUTO_MODERATION_EXECUTION: BigInt(1) << BigInt(21), // guild policy execution LIVE_MESSAGE_COMPOSITION: BigInt(1) << BigInt(32), // allow composing messages using the gateway GUILD_ROUTES: BigInt(1) << BigInt(41), // message routes affecting the guild DIRECT_MESSAGES_THREADS: BigInt(1) << BigInt(42), // direct message threads