mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
backport: add PRIORITY_SPEAKER permission
This commit is contained in:
@@ -193,6 +193,7 @@ class Permissions {
|
|||||||
* - `MANAGE_GUILD` (edit the guild information, region, etc.)
|
* - `MANAGE_GUILD` (edit the guild information, region, etc.)
|
||||||
* - `ADD_REACTIONS` (add new reactions to messages)
|
* - `ADD_REACTIONS` (add new reactions to messages)
|
||||||
* - `VIEW_AUDIT_LOG`
|
* - `VIEW_AUDIT_LOG`
|
||||||
|
* - `PRIORITY_SPEAKER`
|
||||||
* - `VIEW_CHANNEL`
|
* - `VIEW_CHANNEL`
|
||||||
* - `READ_MESSAGES` **(deprecated)**
|
* - `READ_MESSAGES` **(deprecated)**
|
||||||
* - `SEND_MESSAGES`
|
* - `SEND_MESSAGES`
|
||||||
@@ -228,6 +229,7 @@ Permissions.FLAGS = {
|
|||||||
MANAGE_GUILD: 1 << 5,
|
MANAGE_GUILD: 1 << 5,
|
||||||
ADD_REACTIONS: 1 << 6,
|
ADD_REACTIONS: 1 << 6,
|
||||||
VIEW_AUDIT_LOG: 1 << 7,
|
VIEW_AUDIT_LOG: 1 << 7,
|
||||||
|
PRIORITY_SPEAKER: 1 << 8,
|
||||||
|
|
||||||
VIEW_CHANNEL: 1 << 10,
|
VIEW_CHANNEL: 1 << 10,
|
||||||
READ_MESSAGES: 1 << 10,
|
READ_MESSAGES: 1 << 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user