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:
parent
7e602a4e79
commit
1b607b9aa5
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue