diff options
Diffstat (limited to 'discord/invite.py')
| -rw-r--r-- | discord/invite.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/invite.py b/discord/invite.py index 47fd494c..e6c8e295 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -95,6 +95,9 @@ class Invite(Hashable): def __str__(self): return self.url + def __repr__(self): + return '<Invite code={0.code!r}>'.format(self) + @property def id(self): """Returns the proper code portion of the invite.""" |