Sticker

class Sticker()

A custom sticker owned by a guild.

exported from lib.weeble.d

Properties

Sticker.available

type: readonly boolean | null

Indicates whether this sticker is available for use.

Sticker.createdAt

type: readonly Date

When this sticker was created, decoded from the sticker snowflake.

Sticker.description

type: readonly string | null

Sticker description.

Sticker.formatType

type: readonly StickerFormatType

File format of the sticker.

Sticker.guildId

type: readonly string | null

Guild ID this sticker belongs to.

Sticker.id

type: readonly string

Sticker ID.

Sticker.name

type: readonly string

Sticker name.

Sticker.tags

type: readonly string

Autocomplete/suggested tags for this sticker.

Methods

async Sticker.delete(reason: string) Promise<void>

Delete this sticker.

Parameters:
  • reason — – Reason for deletion, shown in audit log.

async Sticker.edit(options: StickerEditOptions) Promise<Sticker>

Edit sticker properties.

Parameters:
  • options — – Sticker properties to update.

Returns:

The updated sticker.