From ac297ab054c2b363f4f1836cd23a9ff40ace4eae Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Wed, 5 Jun 2024 13:19:37 +0200 Subject: [PATCH] Add PermissionUseExternalApps https://github.com/discord/discord-api-docs/pull/6913 --- discord/permissions.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/discord/permissions.go b/discord/permissions.go index 96c18a93..2206f295 100644 --- a/discord/permissions.go +++ b/discord/permissions.go @@ -66,6 +66,7 @@ const ( _ _ PermissionSendPolls + PermissionUseExternalApps PermissionsAllText = PermissionViewChannel | PermissionSendMessages | @@ -76,7 +77,8 @@ const ( PermissionReadMessageHistory | PermissionMentionEveryone | PermissionSendVoiceMessages | - PermissionSendPolls + PermissionSendPolls | + PermissionUseExternalApps PermissionsAllThread = PermissionManageThreads | PermissionCreatePublicThreads | @@ -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 {