Options
All
  • Public
  • Public/Protected
  • All
Menu

Application Structure, used for channels, guilds, presences, etc..

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Optional aliases

aliases: BaseSet<string>

Optional botPublic

botPublic: boolean

Optional botRequireCodeGrant

botRequireCodeGrant: boolean

Readonly client

client: ShardClient

coverImage

coverImage: null | string = null

description

description: string = ''

Optional developers

developers: ApplicationDeveloper[]

Optional eulaId

eulaId: string

Optional executables

executables: ApplicationExecutable[]

Optional guildId

guildId: string

Optional hook

hook: boolean

icon

icon: null | string = null

id

id: string = ''

name

name: string = ''

Optional overlay

overlay: boolean

Optional overlayCompatibilityHook

overlayCompatibilityHook: boolean

Optional primarySkuId

primarySkuId: string

Optional publishers

publishers: ApplicationPublisher[]

Optional rpcOrigins

rpcOrigins: BaseSet<string>

slug

slug: null | string = null

splash

splash: null | string = null

summary

summary: string = ''

Optional thirdPartySkus

thirdPartySkus: BaseCollection<string, ApplicationThirdPartySku>

verifyKey

verifyKey: string = ''

Optional youtubeTrailerVideoId

youtubeTrailerVideoId: 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

platformDiscordUrl

  • get platformDiscordUrl(): null | string

shardId

  • get shardId(): number

splashUrl

  • get splashUrl(): null | string

youtubeTrailerUrl

  • get youtubeTrailerUrl(): null | string

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>

matches

  • matches(name: string): boolean

merge

mergeValue

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

splashUrlFormat

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

toJSON

  • toJSON(): object

Generated using TypeDoc