Emoji Models#
- class interactions.api.models.emoji.Emoji(kwargs_dict=None, /, **other_kwargs)[स्रोत]#
A class objecting representing an emoji.
- चर पद :
id (Optional[Snowflake]) -- Emoji id
name (Optional[str]) -- Emoji name.
roles (Optional[List[int]]) -- Roles allowed to use this emoji
user (Optional[User]) -- User that created this emoji
require_colons (Optional[bool]) -- Status denoting of this emoji must be wrapped in colons
managed (Optional[bool]) -- Status denoting if this emoji is managed (by an integration)
animated (Optional[bool]) -- Status denoting if this emoji is animated
available (Optional[bool]) -- Status denoting if this emoji can be used. (Can be false via server boosting)
- property format: str#
संस्करण 4.4.0 से नया .
Formats the emoji into a send-able form.
- प्रदत्त प्रकार :
- async classmethod get_all_of_guild(guild_id, client)[स्रोत]#
संस्करण 4.2.0 से नया .
Gets all emoji of a guild.
- async modify(guild_id, name=<interactions.MISSING>, roles=<interactions.MISSING>, reason=None)[स्रोत]#
संस्करण 4.4.0 से नया .
Edits the Emoji in a guild.
- मापदण्ड:
- प्रदत्त :
The modified emoji object
- प्रदत्त प्रकार :