Add map of privileged intents

This commit is contained in:
Rory& 2025-07-06 20:18:22 +02:00
parent 5feebe7672
commit a68153ab86

View File

@ -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,
);
}