MinnDevelopment/discord-webhooks

Issue with discord webhook proxy services

caoli5288 opened this issue · 3 comments

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. :-)

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/