aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-11-07 05:36:55 -0500
committerRapptz <[email protected]>2017-11-07 05:36:55 -0500
commit5013102574916c4c9d8a9ebe17f8b9ff963f2005 (patch)
treef1b7e6dadf54bad661cd53b8360d52487b747c56
parentMissing name parameter in VoiceChannel.edit documentation. (diff)
downloaddiscord.py-5013102574916c4c9d8a9ebe17f8b9ff963f2005.tar.xz
discord.py-5013102574916c4c9d8a9ebe17f8b9ff963f2005.zip
Fix Webhook.delete not working.
-rw-r--r--discord/webhook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index 4f849877..7db5095a 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -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|