Skip to main content
Module

x/denocordts/mod.ts>GuildSticker

An Object Oriented Discord API wrapper for Deno.
Latest
class GuildSticker
Re-export
import { GuildSticker } from "https://deno.land/x/denocordts@1.2.0/mod.ts";

Constructors

new
GuildSticker(sticker: APISticker, client: Base)

Properties

protected
deleted: boolean
optional
available: boolean

whether this guild sticker can be used, may be false due to loss of Server Boosts

description: string | null

Description of the Sticker

format: keyof StickerFormatType

Type of Sticker Format

optional
guildId: string

Id of the Guild that owns this sticker

id: string

The Id of the Sticker

name: string

Name of the Sticker

optional
packId: string

for standard stickers, id of the pack the sticker is from

optional
sortValue: number

the standard sticker's sort order within its pack

tags: string

autocomplete/suggestion tags for the sticker (max 200 characters)

type: keyof StickerType

The Type of the Sticker

optional
user: User

The User who uploaded the Sticker

Methods

deleteSticker(reason?: string)
modifySticker(unnamed 0: { name: string; description?: string; tags: string; reason?: string; })