mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 00:25:14 +00:00
Fix channel edits on webhooks sending two requests
This commit is contained in:
@ -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