stickerUrl
@discordeno/utils • Docs
Documentation / @discordeno/utils / stickerUrl
Function: stickerUrl()
stickerUrl(
stickerId
,options
?):string
|undefined
Builds the URL to a sticker stored in the Discord CDN.
Parameters
• stickerId: number
| BigString
The ID of the sticker to get the icon of
• options?
The parameters for the building of the URL.
• options.format?: ImageFormat
• options.size?: ImageSize
• options.type?: StickerFormatTypes
Returns
string
| undefined
The link to the resource or undefined
.