summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-06-27 15:09:30 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-06-27 15:09:30 +1000
commit6fb88b99b5201ab835abfe2fbde01aa50b4cb00d (patch)
tree254e704dcd27952e27f4f69ffd804452e6fd58c9 /util
parentStart of custom login and discord oauth flow (diff)
parentMerge pull request #737 from fosscord/translation (diff)
downloadserver-6fb88b99b5201ab835abfe2fbde01aa50b4cb00d.tar.xz
Merge branch 'master' into slowcord
Diffstat (limited to 'util')
-rw-r--r--util/src/util/Rights.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/util/Rights.ts b/util/src/util/Rights.ts
index 35ad9514..b28c75b7 100644
--- a/util/src/util/Rights.ts
+++ b/util/src/util/Rights.ts
@@ -71,6 +71,8 @@ export class Rights extends BitField {
 		INITIATE_INTERACTIONS: BitFlag(40), // can initiate interactions
 		RESPOND_TO_INTERACTIONS: BitFlag(41), // can respond to interactions
 		SEND_BACKDATED_EVENTS: BitFlag(42), // can send backdated events
+		USE_MASS_INVITES: BitFlag(43), // added per @xnacly's request — can accept mass invites
+		ACCEPT_INVITES: BitFlag(44) // added per @xnacly's request — can accept user-specific invites and DM requests
 	};
 
 	any(permission: RightResolvable, checkOperator = true) {