mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(Permissions): add START_EMBEDDED_ACTIVITIES (#6622)
This commit is contained in:
@@ -94,6 +94,7 @@ class Permissions extends BitField {
|
||||
* * `USE_PUBLIC_THREADS`
|
||||
* * `USE_PRIVATE_THREADS`
|
||||
* * `USE_EXTERNAL_STICKERS` (use stickers from different guilds)
|
||||
* * `START_EMBEDDED_ACTIVITIES`
|
||||
* @type {Object<string, bigint>}
|
||||
* @see {@link https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags}
|
||||
*/
|
||||
@@ -135,6 +136,7 @@ Permissions.FLAGS = {
|
||||
USE_PUBLIC_THREADS: 1n << 35n,
|
||||
USE_PRIVATE_THREADS: 1n << 36n,
|
||||
USE_EXTERNAL_STICKERS: 1n << 37n,
|
||||
START_EMBEDDED_ACTIVITIES: 1n << 39n,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@@ -4477,7 +4477,8 @@ export type PermissionString =
|
||||
| 'MANAGE_THREADS'
|
||||
| 'USE_PUBLIC_THREADS'
|
||||
| 'USE_PRIVATE_THREADS'
|
||||
| 'USE_EXTERNAL_STICKERS';
|
||||
| 'USE_EXTERNAL_STICKERS'
|
||||
| 'START_EMBEDDED_ACTIVITIES';
|
||||
|
||||
export type RecursiveArray<T> = ReadonlyArray<T | RecursiveArray<T>>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user