Closed caoli5288 closed 2 years ago
You don't need a rate-limit proxy for this library. It already handles them for you.
Because of my ISP does not allow direct access to discord, not for ate-limit proxy
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/
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. :-)