Skip to content

Commit

Permalink
Add new expressions and events permissions (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
cane authored Nov 15, 2023
1 parent f19739c commit c9a2364
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions discord/permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const (
PermissionModerateMembers
PermissionViewCreatorMonetizationAnalytics
PermissionUseSoundboard
_
_
PermissionCreateGuildExpressions
PermissionCreateEvents
PermissionUseExternalSounds
PermissionSendVoiceMessages

Expand Down Expand Up @@ -91,7 +91,10 @@ const (
PermissionUseSoundboard |
PermissionUseExternalSounds |
PermissionRequestToSpeak |
PermissionUseEmbeddedActivities
PermissionUseEmbeddedActivities |
PermissionCreateGuildExpressions |
PermissionCreateEvents |
PermissionManageEvents

PermissionsAllChannel = PermissionsAllText |
PermissionsAllThread |
Expand All @@ -116,7 +119,6 @@ const (
PermissionManageRoles |
PermissionChangeNickname |
PermissionManageNicknames |
PermissionManageEvents |
PermissionModerateMembers

PermissionsNone Permissions = 0
Expand Down

0 comments on commit c9a2364

Please sign in to comment.