applicationIconUrl
@discordeno/bot • Docs
Documentation / @discordeno/bot / applicationIconUrl
Function: applicationIconUrl()
applicationIconUrl(
applicationId
,iconHash
,options
?):string
|undefined
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: undefined
| BigString
The hash identifying the application icon.
• 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:127