Options
All
  • Public
  • Public/Protected
  • All
Menu

Oauth2 Application Structure

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Optional bot

botPublic

botPublic: boolean = false

botRequireCodeGrant

botRequireCodeGrant: boolean = false

Readonly client

client: ShardClient

Optional coverImage

coverImage: null | string

description

description: string = ''

flags

flags: number = 0

Optional guildId

guildId: string

icon

icon: null | string = null

id

id: string = ''

name

name: string = ''

owner

Optional primarySkuId

primarySkuId: string

Optional redirectUris

redirectUris: string[]

Optional rpcApplicationState

rpcApplicationState: number

Optional rpcOrigins

rpcOrigins: string[]

Optional secret

secret: string

Optional slug

slug: string

Optional storeApplicationState

storeApplicationState: number

summary

summary: string = ''

Optional team

team: Team

verifyKey

verifyKey: string = ''

Accessors

coverImageUrl

  • get coverImageUrl(): null | string

createdAt

  • get createdAt(): Date

createdAtUnix

  • get createdAtUnix(): number

iconUrl

  • get iconUrl(): null | string

isClone

  • get isClone(): boolean

isOnDiscord

  • get isOnDiscord(): boolean

jumpLink

  • get jumpLink(): null | string

oauth2Url

  • get oauth2Url(): string

platformDiscordUrl

  • get platformDiscordUrl(): null | string

shardId

  • get shardId(): number

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

  • _setFromSnake(key: string, value: any): any

clone

coverImageUrlFormat

  • coverImageUrlFormat(format?: null | string, query?: UrlQuery): null | string

createAsset

createStoreAsset

deleteAsset

  • deleteAsset(assetId: string): Promise<any>

deleteStoreAsset

  • deleteStoreAsset(assetId: string): Promise<any>

difference

  • difference(key: string, value: any): [boolean, any]

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

fetchAssets

fetchNews

fetchStoreAssets

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

iconUrlFormat

  • iconUrlFormat(format?: null | string, query?: UrlQuery): null | string

joinGuild

  • joinGuild(options?: JoinGuild): Promise<any>

merge

mergeValue

  • mergeValue(key: string, value: any): void

oauth2UrlFormat

  • oauth2UrlFormat(options?: UrlQuery): string

toJSON

  • toJSON(): object

Generated using TypeDoc