mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix channel edits on webhooks sending two requests
This commit is contained in:
1 parent
c57d488ca6
commit
da10065c19
2 files changed
+2
-4
No files matched your search
@@ -1511,8 +1511,7 @@ class Webhook(BaseWebhook):
|
||||
proxy_auth=self.proxy_auth,
|
||||
reason=reason,
|
||||
)
|
||||
|
||||
if prefer_auth and self.auth_token:
|
||||
elif prefer_auth and self.auth_token:
|
||||
data = await adapter.edit_webhook(
|
||||
self.id,
|
||||
self.auth_token,
|
||||
|
||||
Reference in new issue
Block a user