mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-10 23:45:42 +00:00
Add missing permissions to permission summary constants (#4)
Add missing permissions to permission summaries
This commit is contained in:
commit
83d549f0af
|
@ -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