feat: v13 VIEW_CREATOR_MONETIZATION_ANALYTICS and USE_SOUNDBOARD permissions

#9124
This commit is contained in:
Elysia
2023-04-15 19:43:39 +07:00
parent 7f565e1848
commit 6ed56a153f
5 changed files with 16 additions and 10 deletions

View File

@@ -201,7 +201,7 @@ class Options extends null {
os_version: '10.0.22621',
os_arch: 'x64',
system_locale: 'en-US',
client_build_number: 184787, // 184787 (stable) but we don't want the captcha to be more difficult to solve
client_build_number: 189005,
native_build_number: 30921,
client_event_source: null,
design_id: 0,

View File

@@ -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,
};
/**