From 2cd6d771eceebfa8aeb641ebd5abb454d8b52d3e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 26 May 2019 02:28:49 -0400 Subject: Make __repr__ slightly more detailed and add a few missing ones. This includes raw events (which didn't have any) and a few other types that were missing them. Upon review some more useful fields were added to the repr output which would be more useful during debugging. --- discord/emoji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/emoji.py') diff --git a/discord/emoji.py b/discord/emoji.py index bad4a4fc..2ab349f7 100644 --- a/discord/emoji.py +++ b/discord/emoji.py @@ -206,7 +206,7 @@ class Emoji: return "<:{0.name}:{0.id}>".format(self) def __repr__(self): - return ''.format(self) + return ''.format(self) def __eq__(self, other): return isinstance(other, (PartialEmoji, Emoji)) and self.id == other.id -- cgit v1.2.3