mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix Webhook.delete not working.
This commit is contained in:
parent
89bbbec37e
commit
5013102574
@ -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|
|
||||
|
Loading…
x
Reference in New Issue
Block a user