Skip to content

Commit

Permalink
feat(Permissions): add START_EMBEDDED_ACTIVITIES (#6622)
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 committed Sep 23, 2021
1 parent caa3b60 commit 66a90d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/util/Permissions.js
Expand Up @@ -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}
*/
Expand Down Expand Up @@ -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,
};

/**
Expand Down
3 changes: 2 additions & 1 deletion typings/index.d.ts
Expand Up @@ -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>>;

Expand Down

0 comments on commit 66a90d3

Please sign in to comment.