mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +00:00
Improve __repr__ for Webhook and SyncWebhook
This commit is contained in:
@ -1155,7 +1155,7 @@ class Webhook(BaseWebhook):
|
||||
self.proxy_auth: Optional[aiohttp.BasicAuth] = proxy_auth
|
||||
|
||||
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