- Wrong Node version.
SyntaxError: Unexpected tokenon modern syntax, or a library refusing to load: set Startup → Runtime to Node 20 or 22, restart. - Missing intents. The bot starts but never sees messages: enable Message Content Intent (and Server Members if needed) in the Developer Portal and pass the intents when creating the client.
- Wrong start file.
Cannot find module '/home/container/index.js': setMAIN_FILE/PY_FILEto your real entry file, including asrc/prefix if applicable. - Token in the code, code on GitHub. The token gets reset by Discord automatically when it detects a leak, and your bot dies with invalid token. Move it to
.env. - Bot online but commands do nothing. Slash commands must be registered once (
REST.put(Routes.applicationCommands(...))in discord.js,tree.sync()in discord.py). Global commands take up to an hour to appear; guild commands are instant.
Bonus: "Cannot send messages to this user" means the user has DMs closed; catch the error instead of crashing.
Still stuck?
Kowalski, the assistant in your dashboard, reads your server's log and fixes most things on request. For everything else there is the ticket system.
