summary refs log tree commit diff
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-05-19 23:11:46 +0300
committerGitHub <noreply@github.com>2022-05-19 23:11:46 +0300
commit3b57829cba9d8d2b347ae06b143609f561b10f78 (patch)
tree2d5c1ce8be43097c64dfd89eae12e19639c1a7cb
parentExtended settings will not be type checked (diff)
downloadserver-3b57829cba9d8d2b347ae06b143609f561b10f78.tar.xz
add guild policies
-rw-r--r--util/src/util/Intents.ts2
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