mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Fix passing proxy to interactions and webhooks
This commit is contained in:
parent
b5392ea0f1
commit
b806ce332e
@ -173,7 +173,9 @@ class AsyncWebhookAdapter:
|
|||||||
to_send = form_data
|
to_send = form_data
|
||||||
|
|
||||||
try:
|
try:
|
||||||
async with session.request(method, url, data=to_send, headers=headers, params=params) as response:
|
async with session.request(
|
||||||
|
method, url, data=to_send, headers=headers, params=params, proxy=proxy, proxy_auth=proxy_auth
|
||||||
|
) as response:
|
||||||
_log.debug(
|
_log.debug(
|
||||||
'Webhook ID %s with %s %s has returned status code %s',
|
'Webhook ID %s with %s %s has returned status code %s',
|
||||||
webhook_id,
|
webhook_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user