mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
feat: v13 VIEW_CREATOR_MONETIZATION_ANALYTICS and USE_SOUNDBOARD permissions (#9124)
* feat: view_creator_monetization_analytics perm * feat: also add USE_SOUNDBOARD
This commit is contained in:
@@ -108,6 +108,8 @@ class Permissions extends BitField {
|
||||
* * `SEND_MESSAGES_IN_THREADS`
|
||||
* * `START_EMBEDDED_ACTIVITIES`
|
||||
* * `MODERATE_MEMBERS`
|
||||
* * `VIEW_CREATOR_MONETIZATION_ANALYTICS`
|
||||
* * `USE_SOUNDBOARD`
|
||||
* @type {Object<string, bigint>}
|
||||
* @see {@link https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags}
|
||||
*/
|
||||
@@ -156,6 +158,8 @@ Permissions.FLAGS = {
|
||||
SEND_MESSAGES_IN_THREADS: 1n << 38n,
|
||||
START_EMBEDDED_ACTIVITIES: 1n << 39n,
|
||||
MODERATE_MEMBERS: 1n << 40n,
|
||||
VIEW_CREATOR_MONETIZATION_ANALYTICS: 1n << 41n,
|
||||
USE_SOUNDBOARD: 1n << 42n,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user