diff options
| author | Rapptz <[email protected]> | 2019-04-13 18:13:53 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-13 18:13:53 -0400 |
| commit | e3631ade4ccc53fd5298c559fefcde01c875cc55 (patch) | |
| tree | f40b44730487dca2d8c6f5c3027c175bf545fc19 /discord/widget.py | |
| parent | Add equality comparisons between two assets and hashing an asset. (diff) | |
| download | discord.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.py | 2 |
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): |