class StickersAPI

export declare class StickersAPI

Constructors

constructor(
rest: REST
)

Constructs a new instance of the StickersAPI class

get(
stickerId: Snowflake
options?: Pick<RequestData, 'signal'>
) : Promise<APISticker>

Fetches a sticker

See also: https://discord.com/developers/docs/resources/sticker#get-sticker

deprecated
getNitroStickers(
options?: Pick<RequestData, 'signal'>
) : Promise<RESTGetStickerPacksResult>

Fetches all of the sticker packs

See also: https://discord.com/developers/docs/resources/sticker#list-sticker-packs

getStickers(
options?: Pick<RequestData, 'signal'>
) : Promise<RESTGetStickerPacksResult>

Fetches all of the sticker packs

See also: https://discord.com/developers/docs/resources/sticker#list-sticker-packs