discordaio.emoji

Classes

  • Emoji: Represents a emoji object
class discordaio.emoji.Emoji(id=0, name='', roles=[], user=None, require_colons=False, managed=False, animated=False)[source]

Represents a emoji object

New in version 0.2.0.

id

emoji id

Type:int
name

emoji name

Type:str
roles

object ids roles this emoji is whitelisted to

Type:list of Role
user

object user that created this emoji

Type:User
require_colons

whether this emoji must be wrapped in colons

Type:bool, optional
managed

whether this emoji is managed

Type:bool, optional
animated

whether this emoji is animated

Type:bool, optional

Inheritance

Inheritance diagram of Emoji