Sticker

Get Sticker

GetAPISticker

Returns a sticker object for the given sticker ID.

import { getSticker } from "dressed";
const sticker = await getSticker(stickerId);

List Sticker Packs

GetStickerPacks

Returns a list of available sticker packs.

import { listStickerPacks } from "dressed";
const stickerPacks = await listStickerPacks();

Get Sticker Pack

GetAPIStickerPack

Returns a sticker pack object for the given sticker pack ID.

import { getStickerPack } from "dressed";
const stickerPack = await getStickerPack(packId);

List Stickers

GetAPIGuildStickers

Returns an array of sticker objects for the given guild.

import { listStickers } from "dressed";
const stickers = await listStickers(guildId);
Info

Includes user fields if the bot has the CREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission.

Get Guild Sticker

GetAPIGuildSticker

Returns a sticker object for the given guild and sticker IDs.

import { getGuildSticker } from "dressed";
const guildSticker = await getGuildSticker(guildId, stickerId);
Info

Includes the user field if the bot has the CREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission.

Create Sticker

PostAPIGuildSticker

Create a new sticker for the guild.

import { createSticker } from "dressed";
await createSticker(guildId, data);
Info

Requires the CREATE_GUILD_EXPRESSIONS permission.

Warning
  • Lottie stickers can only be uploaded on guilds that have either the VERIFIED and/or the PARTNERED guild feature.
  • Uploaded stickers are constrained to 5 seconds in length for animated stickers, and 320 x 320 pixels.

Modify Sticker

PatchAPIGuildSticker

Modify the given sticker.

import { modifySticker } from "dressed";
await modifySticker(guildId, stickerId, data);
Info
  • For stickers created by the current user, requires either the CREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission.
  • For other stickers, requires the MANAGE_GUILD_EXPRESSIONS permission.

Delete Sticker

DeleteAPIGuildSticker

Delete the given sticker.

import { deleteSticker } from "dressed";
await deleteSticker(guildId, stickerId);
Info
  • For stickers created by the current user, requires either the CREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission.
  • For other stickers, requires the MANAGE_GUILD_EXPRESSIONS permission.