Skip to content

My bot went offline after I reset the token. How do I fix it?

Resetting the token in the Developer Portal makes the old one stop working straight away, so your running bot disconnects.

Copy the new token from the Bot tab, open the Startup page in the panel, paste it into Discord Token and restart the server. The Console should show your ready message within a few seconds.

If the Console says An invalid token was provided or LoginFailure, the value pasted is wrong. Check for a missing character or an extra space and paste it again.

Discord also resets tokens it finds in public GitHub repositories. If your token keeps changing on its own, search your repository for it, remove it from the code and history, and read it from the DISCORD_TOKEN environment variable instead.

Was this helpful?

Didn't fix it? Ask in Discord.

Ask in our Discord - we help with hosting questions whether or not you host with us.

Related articles