1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

Add missing permissions to permission summaries

This commit is contained in:
Carlo Field 2020-01-27 20:51:56 +01:00 committed by GitHub
parent 7e602a4e79
commit 1b607b9aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,8 @@ const (
PermissionEmbedLinks | PermissionEmbedLinks |
PermissionAttachFiles | PermissionAttachFiles |
PermissionReadMessageHistory | PermissionReadMessageHistory |
PermissionMentionEveryone PermissionMentionEveryone |
PermissionUseExternalEmojis
PermissionAllVoice = 0 | PermissionAllVoice = 0 |
PermissionConnect | PermissionConnect |
@ -104,7 +105,9 @@ const (
PermissionManageGuild | PermissionManageGuild |
PermissionAdministrator | PermissionAdministrator |
PermissionManageWebhooks | PermissionManageWebhooks |
PermissionManageEmojis PermissionManageEmojis |
PermissionManageNicknames |
PermissionChangeNickname
) )
func (p Permissions) Has(perm Permissions) bool { func (p Permissions) Has(perm Permissions) bool {