Health Monitoring

The bot exposes GET /health for uptime monitors such as the BusyBee status monitor.

Result Meaning
200 Connected to Discord — UP.
503 Process alive but Discord disconnected — DEGRADED.
No response Process down — DOWN.

The response body is JSON with status, ready, uptime (seconds), guilds, and wsPing (-1 until the first heartbeat). HEAD requests return headers only. Any other path returns 404.

Configuration

Variable Default
HEALTH_CHECK_PORT SERVER_PORT if set, otherwise 3001
HEALTH_CHECK_HOST 0.0.0.0

On Pterodactyl, leave HEALTH_CHECK_PORT blank — it falls back to the container's allocated SERVER_PORT, the only port reachable from outside. Keep the host at 0.0.0.0 inside containers; use 127.0.0.1 only on a bare VPS shared with the website.