feat: new application flag

This commit is contained in:
Elysia 2023-06-24 01:45:34 +07:00
parent 1782542776
commit e59f893924
2 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,7 @@ class ApplicationFlags extends BitField {}
* * `EMBEDDED_FIRST_PARTY`
* * `APPLICATION_COMMAND_BADGE`
* * `ACTIVE`
* * `IFRAME_MODAL`
* @type {Object}
* @see {@link https://discord.com/developers/docs/resources/application#application-object-application-flags}
* @see {@link https://flags.lewistehminerz.dev/}
@ -69,6 +70,7 @@ ApplicationFlags.FLAGS = {
EMBEDDED_FIRST_PARTY: 1 << 20,
APPLICATION_COMMAND_BADGE: 1 << 23,
ACTIVE: 1 << 24,
IFRAME_MODAL: 1 << 26,
};
module.exports = ApplicationFlags;

3
typings/index.d.ts vendored
View File

@ -5404,7 +5404,8 @@ export type ApplicationFlagsString =
| 'GATEWAY_MESSAGE_CONTENT_LIMITED'
| 'EMBEDDED_FIRST_PARTY'
| 'APPLICATION_COMMAND_BADGE'
| 'ACTIVE';
| 'ACTIVE'
| 'IFRAME_MODAL';
export interface ApplicationRoleConnectionMetadataEditOptions {
name: string;