Sticker

class discord_limits.paths.StickerPaths(client)
Parameters:

client (discord_limits.DiscordClient) – The DiscordClient instance to use.

async get_sticker(sticker_id)

Get a sticker.

Parameters:

sticker_id (int) – The ID of the sticker to get.

Returns:

A sticker object.

Return type:

ClientResponse

async list_nitro_sticker_packs()

List all nitro sticker packs.

Returns:

A list of sticker pack objects.

Return type:

ClientResponse

async list_guild_stickers(guild_id)

List all stickers in a guild.

Parameters:

guild_id (int) – The ID of the guild to list stickers for.

Returns:

A list of sticker objects.

Return type:

ClientResponse

async get_guild_sticker(guild_id, sticker_id)

Get a sticker in a guild.

Parameters:
  • guild_id (int) – The ID of the guild to get the sticker for.

  • sticker_id (int) – The ID of the sticker to get.

Returns:

A sticker object.

Return type:

ClientResponse

async modify_guild_sticker(guild_id, sticker_id, *, name=None, description=None, tags=None, reason=None)

Modify a sticker in a guild.

Parameters:
  • guild_id (int) – The ID of the guild to modify the sticker for.

  • sticker_id (int) – The ID of the sticker to modify.

  • name (str, optional) – Name of the sticker (2-30 characters), by default None

  • description (str, optional) – Description of the sticker (2-100 characters), by default None

  • tags (str, optional) – Autocomplete/suggestion tags for the sticker (max 200 characters), by default None

  • reason (str, optional) – A reason for this action that will be displayed in the audit log, by default None

Returns:

A sticker object.

Return type:

ClientResponse

async delete_guild_sticker(guild_id, sticker_id, reason=None)

Delete a sticker in a guild.

Parameters:
  • guild_id (int) – The ID of the guild to delete the sticker for.

  • sticker_id (int) – The ID of the sticker to delete.

  • reason (str, optional) – A reason for this action that will be displayed in the audit log, by default None

Returns:

The response from Discord.

Return type:

ClientResponse