Skip to content

discohook.emoji ​

Classes ​

PartialEmoji ​

discohook.emoji.PartialEmoji

Represents a discord PartialEmoji object.

Arguments ​

  • name (str | None): Name of the emoji.
  • id (str | None): ID of the emoji.
  • animated (bool | None): Whether the emoji is animated.

Method Index ​

Methods ​

from_str ​

Creates a partial emoji from a string formatted emoji.

Arguments ​

  • value (str): Emoji string.

Returns ​

  • Type: PartialEmoji
    • PartialEmoji object.