From a68153ab86daac54d3f6a6a7e18d0cf36504a1b3 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 6 Jul 2025 20:18:22 +0200 Subject: [PATCH] Add map of privileged intents --- src/util/util/Intents.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/util/util/Intents.ts b/src/util/util/Intents.ts index 25fd5f15..f19f9f44 100644 --- a/src/util/util/Intents.ts +++ b/src/util/util/Intents.ts @@ -52,5 +52,9 @@ export class Intents extends BitField { 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); + static PRIVILEGED_FLAGS: BitField = new Intents( + Intents.FLAGS.GUILD_PRESENCES | + Intents.FLAGS.GUILD_MEMBERS | + Intents.FLAGS.GUILD_MESSAGES_CONTENT, + ); }