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

int – emoji id

name

str – emoji name

roles

list of Role – object ids roles this emoji is whitelisted to

user

User – object user that created this emoji

require_colons

bool, optional – whether this emoji must be wrapped in colons

managed

bool, optional – whether this emoji is managed

animated

bool, optional – whether this emoji is animated

Inheritance

Inheritance diagram of Emoji