Skip to main content

applicationCoverUrl

@discordeno/botDocs


Documentation / @discordeno/bot / applicationCoverUrl

Function: applicationCoverUrl()

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

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: undefined | BigString

The hash identifying the application cover.

options?

The parameters for the building of the URL.

options.format?: ImageFormat

options.size?: ImageSize

Returns

string | undefined

The link to the resource or undefined.

Defined in

packages/utils/dist/types/images.d.ts:139