mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(Permissions): Adds VIEW_GUILD_INSIGHTS (#3928)
This commit is contained in:
@@ -67,6 +67,7 @@ class Permissions extends BitField {
|
||||
* * `READ_MESSAGE_HISTORY` (view messages that were posted prior to opening Discord)
|
||||
* * `MENTION_EVERYONE`
|
||||
* * `USE_EXTERNAL_EMOJIS` (use emojis from different guilds)
|
||||
* * `VIEW_GUILD_INSIGHTS`
|
||||
* * `CONNECT` (connect to a voice channel)
|
||||
* * `SPEAK` (speak in a voice channel)
|
||||
* * `MUTE_MEMBERS` (mute members across all voice channels)
|
||||
@@ -101,14 +102,13 @@ Permissions.FLAGS = {
|
||||
READ_MESSAGE_HISTORY: 1 << 16,
|
||||
MENTION_EVERYONE: 1 << 17,
|
||||
USE_EXTERNAL_EMOJIS: 1 << 18,
|
||||
|
||||
VIEW_GUILD_INSIGHTS: 1 << 19,
|
||||
CONNECT: 1 << 20,
|
||||
SPEAK: 1 << 21,
|
||||
MUTE_MEMBERS: 1 << 22,
|
||||
DEAFEN_MEMBERS: 1 << 23,
|
||||
MOVE_MEMBERS: 1 << 24,
|
||||
USE_VAD: 1 << 25,
|
||||
|
||||
CHANGE_NICKNAME: 1 << 26,
|
||||
MANAGE_NICKNAMES: 1 << 27,
|
||||
MANAGE_ROLES: 1 << 28,
|
||||
|
||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2726,6 +2726,7 @@ declare module 'discord.js' {
|
||||
| 'READ_MESSAGE_HISTORY'
|
||||
| 'MENTION_EVERYONE'
|
||||
| 'USE_EXTERNAL_EMOJIS'
|
||||
| 'VIEW_GUILD_INSIGHTS'
|
||||
| 'CONNECT'
|
||||
| 'SPEAK'
|
||||
| 'MUTE_MEMBERS'
|
||||
|
||||
Reference in New Issue
Block a user