feat: new application flag
This commit is contained in:
parent
1782542776
commit
e59f893924
@ -43,6 +43,7 @@ class ApplicationFlags extends BitField {}
|
|||||||
* * `EMBEDDED_FIRST_PARTY`
|
* * `EMBEDDED_FIRST_PARTY`
|
||||||
* * `APPLICATION_COMMAND_BADGE`
|
* * `APPLICATION_COMMAND_BADGE`
|
||||||
* * `ACTIVE`
|
* * `ACTIVE`
|
||||||
|
* * `IFRAME_MODAL`
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
* @see {@link https://discord.com/developers/docs/resources/application#application-object-application-flags}
|
* @see {@link https://discord.com/developers/docs/resources/application#application-object-application-flags}
|
||||||
* @see {@link https://flags.lewistehminerz.dev/}
|
* @see {@link https://flags.lewistehminerz.dev/}
|
||||||
@ -69,6 +70,7 @@ ApplicationFlags.FLAGS = {
|
|||||||
EMBEDDED_FIRST_PARTY: 1 << 20,
|
EMBEDDED_FIRST_PARTY: 1 << 20,
|
||||||
APPLICATION_COMMAND_BADGE: 1 << 23,
|
APPLICATION_COMMAND_BADGE: 1 << 23,
|
||||||
ACTIVE: 1 << 24,
|
ACTIVE: 1 << 24,
|
||||||
|
IFRAME_MODAL: 1 << 26,
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = ApplicationFlags;
|
module.exports = ApplicationFlags;
|
||||||
|
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@ -5404,7 +5404,8 @@ export type ApplicationFlagsString =
|
|||||||
| 'GATEWAY_MESSAGE_CONTENT_LIMITED'
|
| 'GATEWAY_MESSAGE_CONTENT_LIMITED'
|
||||||
| 'EMBEDDED_FIRST_PARTY'
|
| 'EMBEDDED_FIRST_PARTY'
|
||||||
| 'APPLICATION_COMMAND_BADGE'
|
| 'APPLICATION_COMMAND_BADGE'
|
||||||
| 'ACTIVE';
|
| 'ACTIVE'
|
||||||
|
| 'IFRAME_MODAL';
|
||||||
|
|
||||||
export interface ApplicationRoleConnectionMetadataEditOptions {
|
export interface ApplicationRoleConnectionMetadataEditOptions {
|
||||||
name: string;
|
name: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user