Skip to main content

applicationCoverUrl

Documentation


Documentation / @discordeno/utils / applicationCoverUrl

Function: applicationCoverUrl()

applicationCoverUrl(applicationId, coverHash, options?): string | undefined

Defined in: packages/utils/src/images.ts:269

Builds the URL to an application cover stored in the Discord CDN.

Parameters

applicationId

BigString

The ID of the application to get the cover of.

coverHash

BigString | undefined

The hash identifying the application cover.

options?

ImageOptions

The parameters for the building of the URL.

Returns

string | undefined

The link to the resource or undefined.