diff options
Diffstat (limited to 'discord/object.py')
| -rw-r--r-- | discord/object.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/object.py b/discord/object.py index ea4fac98..ef2a98cf 100644 --- a/discord/object.py +++ b/discord/object.py @@ -64,6 +64,9 @@ class Object(Hashable): def __init__(self, id): self.id = id + def __repr__(self): + return '<Object id=%r>' % self.id + @property def created_at(self): """Returns the snowflake's creation time in UTC.""" |