Skip to content

StickerPack

classe · Source

Represents a pack of standard stickers.

Extends: Base

Properties

id

id: Snowflake

The Sticker pack's id Source

stickers

stickers: Collection<Snowflake, Sticker>

The stickers in the pack Source

name

name: string

The name of the sticker pack Source

skuId

skuId: Snowflake

The id of the pack's SKU Source

coverStickerId

nullable

coverStickerId: Snowflake

The id of a sticker in the pack which is shown as the pack's icon Source

description

description: string

The description of the sticker pack Source

bannerId

nullable

bannerId: Snowflake

The id of the sticker pack's banner image Source

createdTimestamp

readonly

createdTimestamp: number

The timestamp the sticker was created at Source

createdAt

readonly

createdAt: Date

The time the sticker was created at Source

coverSticker

readonly · nullable

coverSticker: Sticker

The sticker which is shown as the pack's icon Source

client

readonly

client: Client

The client that instantiated this Source

Methods

bannerURL

bannerURL(options?: StaticImageURLOptions): string

The URL to this sticker pack's banner. Parameters

NameTypeDescription
options?StaticImageURLOptionsOptions for the Image URL Default: {}.

Returns: stringSource

Unofficial software. Not affiliated with or supported by Discord.