Interactions should use connector
, proxy
, proxy_auth
kwargs of client
#261
Labels
connector
, proxy
, proxy_auth
kwargs of client
#261
Summary
Since interaction responses are webhooks and as such don't go through
http.py
but instead throughasync_.py
, theconnector
/proxy
/proxy_auth
kwargs passed toClient.__init__
don't apply.Expected Results
interaction callbacks go through the proxy and/or use the specified connector
Actual Results
they don't
Intents
all
System Information
latest / 2025dfb
Checklist
Additional Context
Not only does this prevent interactions from working in configurations where a proxy is absolutely required, it's also a bit annoying when debugging HTTP reqs. The past few weeks I resorted to monkeypatching
bot.http._HTTPClient__session._request
, but I'm sure anyone would agree that this isn't a great solution, so it's time to change that :^)The text was updated successfully, but these errors were encountered: