Turn on push alerts in the Bothosting app
Install the iOS app or the Android app, sign in as the deployment owner and allow notifications. Bothosting can send a push alert after it detects an unexpected stop, including a crash or an out-of-memory kill. The alert names the deployment. Push alerts are included on every plan, including Spark.
Set it up once
- Open the app and sign in with your Bothosting account.
- Allow notifications when the app asks. If you said no earlier, open Account and tap the Notifications row to allow them.
- In a deployment’s Settings, enable Restart on crash when available if you want automatic recovery. Retry attempts can pause during a crash loop.
Crash alerts can reach registered phones with notifications enabled. On Android, adjust the Deployment crashes channel in system settings. To check the Discord channel integration, use its Send test button on the website.
Post alerts to a Discord channel too
In the web dashboard, open Settings → Crash alerts, save a Discord channel webhook and select Send test. Discord alerts and phone push alerts work independently. The Discord webhook can also post a GitHub deployment result. Look for the commit ID in that message or in Recent deploys. Set up Discord crash alerts.
Why not an uptime monitor?
Services such as UptimeRobot request a URL every few minutes. A Discord bot or Telegram polling bot has no URL to request, and adding a web server just for pings checks the web server, not the bot. A Bothosting alert watches the process itself. For a website or API, an external monitor is still a useful second check, because it also catches DNS or certificate problems. Keep-alive pings and bots.
What to do when the alert arrives
Open the deployment in the app and check its status, then find the first error since its last start in Logs. Read the provider error before replacing a token. If the status shows that Spark expired, renew it from the deployment. Why a bot keeps going offline and checking logs from your phone.