Skip to main content

stickerPackBannerUrl

@discordeno/utilsDocs


Documentation / @discordeno/utils / stickerPackBannerUrl

Function: stickerPackBannerUrl()

stickerPackBannerUrl(bannerAssetId, options?): string | undefined

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

Parameters

bannerAssetId: undefined | BigString

The ID of the banner asset for the sticker pack.

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/src/images.ts:326