You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> - Values starting with `HEARTBEAT_ID_` are used for the heartbeat IDs for the heartbeats. We use [Better Stack Uptime](https://betterstack.com/uptime) for monitoring the uptime of the website.
202
204
> - The `DISCORD_BOT_GET_APPROXIMATE_GUILD_COUNT_API_URL` and `DISCORD_BOT_GET_APPROXIMATE_GUILD_COUNT_API_SECRET` values are used for getting the approximate guild count of a bot. This is half required for self-hosting. If you don't want to use this feature, you can leave these values empty, but this will result in bots not being able to update server_count using the API. For now, we use private API for this because Discord doesn't provide an official API for getting the approximate guild count of a bot. We don't want to share this API source code with everyone.
203
205
> - The `WEBHOOKS_PROXY_SERVER_PROTOCOL`, `WEBHOOKS_PROXY_SERVER_HOST`, `WEBHOOKS_PROXY_SERVER_PORT`, `WEBHOOKS_PROXY_SERVER_USERNAME`, and `WEBHOOKS_PROXY_SERVER_PASSWORD` values are used for the proxy server settings. We use a proxy server for sending webhooks requests. If you don't want to use a proxy server, you can leave these values empty. Username and password are not required for the proxy server.
206
+
> - You can use the `WEBHOOKS_PROXY_SERVERS` value for setting up multiple proxy servers. The format for this value is as follows: `user:pass@host:port`. You can add multiple proxy servers separated by a vertical bar. The server will select a random proxy server from the list for each request. You can also change these servers protocol by changing the `WEBHOOKS_PROXY_SERVER_PROTOCOL` value. If you use this value, you should leave the `WEBHOOKS_PROXY_SERVER_HOST`, `WEBHOOKS_PROXY_SERVER_PORT`, `WEBHOOKS_PROXY_SERVER_USERNAME`, and `WEBHOOKS_PROXY_SERVER_PASSWORD` values empty. If you don't want to use this feature, you can leave these values empty. Username and password are __required__ for the multiple proxy servers.
if(!WEBHOOKS_PROXY_SERVER_PROTOCOL||!WEBHOOKS_PROXY_SERVER_HOST||!WEBHOOKS_PROXY_SERVER_PORT)thrownewError('Incomplete proxy configuration. Please provide WEBHOOKS_PROXY_SERVERS or WEBHOOKS_PROXY_SERVER_PROTOCOL, WEBHOOKS_PROXY_SERVER_HOST, WEBHOOKS_PROXY_SERVER_PORT.');
0 commit comments