Send deployment crash alerts to Discord
Connect and test a Discord webhook for unexpected stops on Spark or a paid plan, then use the alert and Console to investigate a crash.
Connect a Discord channel
Choose a Discord channel where you want alerts about an unexpected deployment stop. Create an incoming webhook in that channel’s integrations and copy its URL. Treat the address as a credential because anyone with it can post to the channel.
- Open your Bothosting deployment and go to Settings → Crash alerts.
- Paste the URL in Discord webhook and select Save webhook.
- Return to Crash alerts and select Send test. Confirm the test message reaches the intended channel.
Crash alerts are included on Spark and paid plans. You can send alerts to Discord for a Slack bot, a Telegram bot or another supported deployment.
Investigate an unexpected stop
An alert can report a process that stopped unexpectedly, restarted after a crash, or reached a memory or crash-loop limit. Bothosting suppresses alerts for intentional stops and deployment restarts and limits repeated notices.
Open the deployment’s Overview for the latest failure reason, then check Console around the alert’s UTC timestamp. Look for the first error or exit code. Check Recent deploys if the failure followed a GitHub change, and compare peak memory with your allocation if the notice mentions memory.
A crash alert may include recent console lines. Choose a channel whose members can see that output, and keep tokens and private data out of application logs. Compare build and runtime logs or get help with a deployment failure.
Restore a missing alert
Check whether Overview shows expiry, a deployment in progress, or a failed process. If the webhook test fails, check that the Discord webhook still exists and points to the correct channel. A deleted Discord webhook can be disabled automatically. To replace the URL, select Disconnect alerts, save a new webhook and send another test.
Mobile push alerts are configured separately. Sign in to the Bothosting app and allow notifications if you also want unexpected-stop alerts on your phone. Set up mobile crash notifications.