Skip to main content

applicationCoverUrl

Documentation


Documentation / @discordeno/utils / applicationCoverUrl

Function: applicationCoverUrl()

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

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

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

The hash identifying the application cover.

undefined | BigString

options?

The parameters for the building of the URL.

format?

ImageFormat

size?

ImageSize

Returns

undefined | string

The link to the resource or undefined.