aboutsummaryrefslogtreecommitdiff
path: root/discord/widget.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-04-13 18:13:53 -0400
committerRapptz <[email protected]>2019-04-13 18:13:53 -0400
commite3631ade4ccc53fd5298c559fefcde01c875cc55 (patch)
treef40b44730487dca2d8c6f5c3027c175bf545fc19 /discord/widget.py
parentAdd equality comparisons between two assets and hashing an asset. (diff)
downloaddiscord.py-e3631ade4ccc53fd5298c559fefcde01c875cc55.tar.xz
discord.py-e3631ade4ccc53fd5298c559fefcde01c875cc55.zip
Fix attribute error in Widget.__repr__
Diffstat (limited to 'discord/widget.py')
-rw-r--r--discord/widget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/widget.py b/discord/widget.py
index 8d55801e..59e6a82f 100644
--- a/discord/widget.py
+++ b/discord/widget.py
@@ -208,7 +208,7 @@ class Widget:
return self.id == other.id
def __repr__(self):
- return '<Widget id={0.id} name={0.name!r} invite={0.invite!r}>'.format(self)
+ return '<Widget id={0.id} name={0.name!r} invite_url={0.invite_url!r}>'.format(self)
@property
def created_at(self):