mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-18 13:26:04 +00:00
Add bitfield for discords privileged intents
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user