Skip to main content

applicationIconUrl

Documentation


Documentation / @discordeno/utils / applicationIconUrl

Function: applicationIconUrl()

applicationIconUrl(applicationId, iconHash, options?): string | undefined

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

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

Parameters

applicationId

BigString

The ID of the application to get the icon of.

iconHash

The hash identifying the application icon.

BigString | undefined

options?

ImageOptions

The parameters for the building of the URL.

Returns

string | undefined

The link to the resource or undefined