mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Improve __repr__ for Webhook and SyncWebhook
This commit is contained in:
1 parent
2f71506169
commit
425edd2e10
2 files changed
+2
-2
No files matched your search
@@ -608,7 +608,7 @@ class SyncWebhook(BaseWebhook):
|
||||
self.session: Session = session
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f'<Webhook id={self.id!r}>'
|
||||
return f'<Webhook id={self.id!r} type={self.type!r} name={self.name!r}>'
|
||||
|
||||
@property
|
||||
def url(self) -> str:
|
||||
|
||||
Reference in new issue
Block a user