Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/higa/deno/client/managers/index.ts>StickerManager

A package to interract with the Discord API coded by myself
Latest
class StickerManager
import { StickerManager } from "https://deno.land/x/higa@0.1.2/deno/client/managers/index.ts";

Constructors

new
StickerManager(
token: string,
tokenType: string,
version: APIVersions,
)

Properties

readonly
version: APIVersions

API Version

Methods

createGuildSticker(
guildId: string,
reason?: string,
): Promise<Sticker>

Create a guild sticker.

deleteGuilSticker(
guildId: string,
stickerId: string,
reason?: string,
): Promise<void>

Deletes a guild sticker.

getGuildSticker(guildId: string, stickerId: string): Promise<Sticker>

Get a guild sticker

getSticker(stickerId: string): Promise<Sticker>

Get a sticker

listGuildStickers(guildId: string): Promise<Sticker[]>

List all stickers in a guild

Lists all the Nitro Sticker Packs.

modifyGuildSticker(
guildId: string,
stickerId: string,
reason?: string,
): Promise<Sticker>

Modify a guild sticker