Issue with discord webhook proxy services
caoli5288 opened this issue · 3 comments
caoli5288 commented
Hard coded discord.com
in WebhookClient, which results in not supporting any third-party services like https://hooks.hyra.io/ or any alternatives.
Please fix it, it's important in some places. :-)
MinnDevelopment commented
You don't need a rate-limit proxy for this library. It already handles them for you.
caoli5288 commented
Because of my ISP does not allow direct access to discord, not for ate-limit proxy
MinnDevelopment commented
Then you should use an HTTP CONNECT proxy, this can be done by setting a custom OkHttpClient with WebhookClientBuilder#seHttpClient.
See: https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/-builder/proxy/