backport: add PRIORITY_SPEAKER permission

This commit is contained in:
Lewdcario
2018-08-03 19:09:09 -06:00
parent 87b4b23596
commit c33ab1ea61

View File

@@ -193,6 +193,7 @@ class Permissions {
* - `MANAGE_GUILD` (edit the guild information, region, etc.)
* - `ADD_REACTIONS` (add new reactions to messages)
* - `VIEW_AUDIT_LOG`
* - `PRIORITY_SPEAKER`
* - `VIEW_CHANNEL`
* - `READ_MESSAGES` **(deprecated)**
* - `SEND_MESSAGES`
@@ -228,6 +229,7 @@ Permissions.FLAGS = {
MANAGE_GUILD: 1 << 5,
ADD_REACTIONS: 1 << 6,
VIEW_AUDIT_LOG: 1 << 7,
PRIORITY_SPEAKER: 1 << 8,
VIEW_CHANNEL: 1 << 10,
READ_MESSAGES: 1 << 10,