My Discord bot "Odin" has been taken offline every day for 3 days, and Discord DMโd me saying the bot connected more than 1000 times in a short period and reset the token.
Act as a senior Discord bot reliability engineer. Diagnose the most likely reasons this is happening, rank the causes by probability, and give me a step-by-step troubleshooting and fix plan.
Specifically check for:
- crash loops
- auto-restarts from hosting
- duplicate bot instances
- multiple login/connect calls
- reconnect logic bugs
- bad sharding config
- Docker/PM2/systemd/panel restart loops
- health checks or deployment scripts relaunching the bot
Format your answer as:
- Most likely cause
- Other likely causes
- First 10 things to check
- Code mistakes that cause this
- Hosting/deployment mistakes that cause this
- Immediate fixes
- Prevention plan
- Minimal questions for me
Do not ask for my token or secrets.
If anything is unclear or you need additional details to improve your response, please ask for clarification.