Skip to main content

stickerUrl

Documentation


Documentation / @discordeno/utils / stickerUrl

Function: stickerUrl()

stickerUrl(stickerId, options?): undefined | string

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

Builds the URL to a sticker stored in the Discord CDN.

Parameters

stickerId

The ID of the sticker to get the icon of

number | BigString

options?

The parameters for the building of the URL.

format?

ImageFormat

size?

ImageSize

type?

StickerFormatTypes

Returns

undefined | string

The link to the resource or undefined.