feat(APIApplication): add ApplicationFlags (#92)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This commit is contained in:
Advaith
2021-03-15 16:01:30 -07:00
committed by GitHub
parent 0f29b32e05
commit 92f76f1a3c
2 changed files with 26 additions and 2 deletions

View File

@@ -80,7 +80,19 @@ export interface APIApplication {
/**
* The application's public flags
*/
flags: number;
flags: ApplicationFlags;
}
export enum ApplicationFlags {
ManagedEmoji = 1 << 2,
GroupDMCreate = 1 << 4,
RPCHasConnected = 1 << 11,
GatewayPresence = 1 << 12,
GatewayPresenceLimit = 1 << 13,
GatewayGuildMembers = 1 << 14,
GatewayGuildMembersLimited = 1 << 15,
VerificationPendingGuildLimit = 1 << 16,
Embedded = 1 << 17,
}
export enum OAuth2Scopes {

View File

@@ -80,7 +80,19 @@ export interface APIApplication {
/**
* The application's public flags
*/
flags: number;
flags: ApplicationFlags;
}
export const enum ApplicationFlags {
ManagedEmoji = 1 << 2,
GroupDMCreate = 1 << 4,
RPCHasConnected = 1 << 11,
GatewayPresence = 1 << 12,
GatewayPresenceLimit = 1 << 13,
GatewayGuildMembers = 1 << 14,
GatewayGuildMembersLimited = 1 << 15,
VerificationPendingGuildLimit = 1 << 16,
Embedded = 1 << 17,
}
export const enum OAuth2Scopes {