From 441dd3ddcd4cfe124221969f9f286f789018b986 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 6 Jul 2025 19:47:28 +0200 Subject: [PATCH] Add bitfield for discords privileged intents --- src/util/util/Intents.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/util/Intents.ts b/src/util/util/Intents.ts index 9c9b0f37..611d2da4 100644 --- a/src/util/util/Intents.ts +++ b/src/util/util/Intents.ts @@ -48,4 +48,6 @@ export class Intents extends BitField { INSTANCE_POLICY_UPDATES: BigInt(1) << BigInt(62), // all instance policy updates INSTANCE_USER_UPDATES: BigInt(1) << BigInt(63), // all instance user updates }; + + static PRIVILEGED_FLAGS: BitField = new Intents(Intents.FLAGS.GUILD_PRESENCES | Intents.FLAGS.GUILD_MEMBERS | Intents.FLAGS.GUILD_MESSAGES_CONTENT); }