Skip to content

Commit

Permalink
Add PermissionUseExternalApps
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Jun 5, 2024
1 parent 49119a6 commit ac297ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion discord/permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const (
_
_
PermissionSendPolls
PermissionUseExternalApps

PermissionsAllText = PermissionViewChannel |
PermissionSendMessages |
Expand All @@ -76,7 +77,8 @@ const (
PermissionReadMessageHistory |
PermissionMentionEveryone |
PermissionSendVoiceMessages |
PermissionSendPolls
PermissionSendPolls |
PermissionUseExternalApps

PermissionsAllThread = PermissionManageThreads |
PermissionCreatePublicThreads |
Expand Down Expand Up @@ -175,6 +177,7 @@ var permissions = map[Permissions]string{
PermissionViewGuildInsights: "View Server Insights",
PermissionSendVoiceMessages: "Send Voice Messages",
PermissionSendPolls: "Create Polls",
PermissionUseExternalApps: "Use External Apps",
}

func (p Permissions) String() string {
Expand Down

0 comments on commit ac297ab

Please sign in to comment.