1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-02 20:02:53 +00:00

Add missing permissions to permission summary constants (#4)

Add missing permissions to permission summaries
This commit is contained in:
diamondburned 2020-01-27 12:13:36 -08:00 committed by GitHub
commit 83d549f0af
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 {