1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-15 19:33:17 +00:00

Merge branch 'master' of github.com:diamondburned/arikawa

This commit is contained in:
diamondburned (Forefront) 2020-01-28 16:01:44 -08:00
commit 81bc30968b

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 {