Fix Webhook.delete not working.
This commit is contained in:
parent
89bbbec37e
commit
5013102574
@ -512,7 +512,7 @@ class Webhook:
|
|||||||
Forbidden
|
Forbidden
|
||||||
You do not have permissions to delete this webhook.
|
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):
|
def edit(self, **kwargs):
|
||||||
"""|maybecoro|
|
"""|maybecoro|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user