🔑
Discord Token Error
Your bot token is invalid, expired, or missing.
What happened
BotNinja tried to start your bot, but Discord rejected the bot token. This usually means the token was reset in the Discord Developer Portal, or it was never added to your bot's secrets.
How to fix it
1
Go to the Discord Developer Portal
Open discord.com/developers/applications and select your bot application.
2
Navigate to the Bot section
Click "Bot" in the left sidebar.
3
Reset and copy your token
Click "Reset Token", confirm, and then click "Copy" to copy the new token. Keep this token secret — anyone with it can control your bot.
4
Update the token in BotNinja
Go to your bot in the BotNinja Dashboard, open the Secrets tab on the right sidebar, and paste your new token as `DISCORD_TOKEN`.
5
Start your bot again
Click Start or use the bot command in Discord. It should connect successfully now.