diff options
author | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-05-19 23:11:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 23:11:46 +0300 |
commit | 7e0454c85f411199ea386adb5d8601593cc4cbb0 (patch) | |
tree | b83fefe2a16e9b309a03c244486c13c97857634d | |
parent | Extended settings will not be type checked (diff) | |
download | server-7e0454c85f411199ea386adb5d8601593cc4cbb0.tar.xz |
add guild policies
-rw-r--r-- | util/src/util/Intents.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/util/Intents.ts b/util/src/util/Intents.ts index d9a60e4a..1e840b76 100644 --- a/util/src/util/Intents.ts +++ b/util/src/util/Intents.ts @@ -18,6 +18,8 @@ export class Intents extends BitField { 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 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 |