mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
Fix Webhook.delete not working.
This commit is contained in:
@ -512,7 +512,7 @@ class Webhook:
|
||||
Forbidden
|
||||
You do not have permissions to delete this webhook.
|
||||
"""
|
||||
return self._adapter.delete_webhook(self.id, self.token)
|
||||
return self._adapter.delete_webhook()
|
||||
|
||||
def edit(self, **kwargs):
|
||||
"""|maybecoro|
|
||||
|
Reference in New Issue
Block a user