This commit is contained in:
iDutchy
2020-10-17 18:42:19 -05:00
parent a09e096d42
commit d75cd66b90
14 changed files with 128 additions and 5 deletions

View File

@@ -112,6 +112,9 @@ class Emoji(_EmojiTag):
return '<a:{0.name}:{0.id}>'.format(self)
return "<:{0.name}:{0.id}>".format(self)
def __int__(self):
return self.id
def __repr__(self):
return '<Emoji id={0.id} name={0.name!r} animated={0.animated} managed={0.managed}>'.format(self)