1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-16 03:44:26 +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 | 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 {