mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix attribute error in Widget.__repr__
This commit is contained in:
parent
7c091282ce
commit
e3631ade4c
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user