mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
* Backport the STREAM permission * Update typings and default
This commit is contained in:
@@ -208,6 +208,7 @@ class Permissions {
|
||||
* - `ADD_REACTIONS` (add new reactions to messages)
|
||||
* - `VIEW_AUDIT_LOG`
|
||||
* - `PRIORITY_SPEAKER`
|
||||
* - `STREAM`
|
||||
* - `VIEW_CHANNEL`
|
||||
* - `READ_MESSAGES` **(deprecated)**
|
||||
* - `SEND_MESSAGES`
|
||||
@@ -244,6 +245,7 @@ Permissions.FLAGS = {
|
||||
ADD_REACTIONS: 1 << 6,
|
||||
VIEW_AUDIT_LOG: 1 << 7,
|
||||
PRIORITY_SPEAKER: 1 << 8,
|
||||
STREAM: 1 << 9,
|
||||
|
||||
VIEW_CHANNEL: 1 << 10,
|
||||
READ_MESSAGES: 1 << 10,
|
||||
@@ -282,7 +284,7 @@ Permissions.ALL = Object.keys(Permissions.FLAGS).reduce((all, p) => all | Permis
|
||||
* Bitfield representing the default permissions for users
|
||||
* @type {number}
|
||||
*/
|
||||
Permissions.DEFAULT = 104324097;
|
||||
Permissions.DEFAULT = 104324673;
|
||||
|
||||
/**
|
||||
* @class EvaluatedPermissions
|
||||
|
||||
Reference in New Issue
Block a user