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 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 |
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 {