Skip to main content

stickerUrl

Documentation


Documentation / @discordeno/utils / stickerUrl

Function: stickerUrl()

stickerUrl(stickerId, options?): string | undefined

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

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?​

ImageOptions & object

The parameters for the building of the URL.

Returns​

string | undefined

The link to the resource or undefined.