Skip to main content
Module

x/higa/mod.ts>StickerManager

A package to interract with the Discord API coded by myself
Latest
class StickerManager
Re-export
import { StickerManager } from "https://deno.land/x/higa@0.1.2/mod.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