From 1b607b9aa59245c6cef4ed3219dd16a470324e3e Mon Sep 17 00:00:00 2001 From: Carlo Field Date: Mon, 27 Jan 2020 20:51:56 +0100 Subject: [PATCH] Add missing permissions to permission summaries --- discord/permission.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/discord/permission.go b/discord/permission.go index 1bdc980..6fa2dcb 100644 --- a/discord/permission.go +++ b/discord/permission.go @@ -77,7 +77,8 @@ const ( PermissionEmbedLinks | PermissionAttachFiles | PermissionReadMessageHistory | - PermissionMentionEveryone + PermissionMentionEveryone | + PermissionUseExternalEmojis PermissionAllVoice = 0 | PermissionConnect | @@ -104,7 +105,9 @@ const ( PermissionManageGuild | PermissionAdministrator | PermissionManageWebhooks | - PermissionManageEmojis + PermissionManageEmojis | + PermissionManageNicknames | + PermissionChangeNickname ) func (p Permissions) Has(perm Permissions) bool {