mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
Improve __repr__ for Webhook and SyncWebhook
This commit is contained in:
@ -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