Skip to content

Bot Emojis Resource

Note

The following classes come from the scurrypy.resources.bot_emoji module.


BotEmoji dataclass

Bases: BaseResource

Represents a Discord Bot Emoji.

application_id: int instance-attribute

Application ID of the emojis.

context: Any instance-attribute

Associated user data.

fetch async

Fetch an emoji from the bot repository.

Parameters:

  • emoji_id (int) –

    emoji ID

Returns:

fetch_all async

Fetch all emojis from the bot repository.

Returns:

create async

Add an emoji to the bot emoji repository.

Parameters:

  • emoji (BotEmojiPart) –

    bot emoji fields

Returns:

edit async

Edit an emoji in the bot repository.

Parameters:

  • emoji_id (int) –

    ID of the emoji

  • options (EditBotEmojiParams, default: {} ) –

    fields to edit the emoji

Returns:

delete async

Deletes an emoji from the bot repository.

Parameters:

  • emoji_id (int) –

    ID of the emoji to remove