chore: add permission definitions for mentioning everyone, online, and roles (#110)

This commit is contained in:
Declan Chidlow
2025-04-25 18:19:53 +08:00
committed by GitHub
parent 2ca8879371
commit b16bee7ed1
+7 -1
View File
@@ -82,8 +82,14 @@ export const Permission = {
/// Move members between voice channels
MoveMembers: 2 ** 35,
// * Mention permissions
/// Mention @everyone or @online
MentionEveryone: 2 ** 37,
/// Mention a role
MentionRoles: 2 ** 38,
// * Misc. permissions
// % Bits 36 to 52: free area
// % Bits 39 to 52: free area
// % Bits 53 to 64: do not use
// * Grant all permissions