Discord bot offline or not responding: how to fix it

Why a Discord bot shows offline (process or token) or stays online but silent (gateway intents and permissions), keeping the token secret, slash command scopes, and hosting it 24/7 under pm2 or systemd.

  • 1:22 video
  • English captions & transcript
  • 4 November 2026

Transcript

The full narration, chapter by chapter. Click a time to play the video from there.

Intro

Is your Discord bot offline, or online but ignoring every command? Those are two different problems. Here's how to fix both.

Bot shows offline

If the bot shows offline, its process isn't running, or it can't log in. Restart it, and watch the console for a login error. If you reset the token, the old one stops working, so paste the new token into your config.

Keep the token secret

And never post your token publicly. Discord detects leaked tokens and disables them automatically.

Turn on the intents

If the bot is online but silent, it's almost always intents. In the Developer Portal, open your app, go to Bot, and turn on Message Content Intent, plus Server Members if you need it. Then request the same intents in your code.

Permissions

Still silent? Check permissions. The bot's role needs to read and send messages in that channel. For slash commands, invite it with the applications.commands scope, and keep its role above the roles it manages.

Host it 24/7

Goes offline when you close your PC? For 24/7 uptime, run it on a VPS under a process manager like pm2 or systemd, so it restarts after a crash or a reboot.

Recap

Quick recap: offline means process or token. Silent means intents or permissions. VPS hosting at esagames.ro.

More video tutorials

  • 1:22
    Linux & VPS

    How to connect to your server with SSH

    How to connect to a VPS or dedicated server with SSH from Windows: what you need, opening Terminal, the ssh command, the first-time fingerprint, the invisible password, and what to do if it fails.

  • 1:05
    Linux & VPS

    How to fix "user is not in the sudoers file"

    Fix "user is not in the sudoers file" on Linux: add the user to the sudo or wheel group as root, log in again, what to do without root access, and why to edit sudoers only with visudo.

  • 1:23
    Linux & VPS

    How to upload files with SFTP (FileZilla)

    Upload files to your server with SFTP and FileZilla: install FileZilla, find your SFTP details on a game server or a VPS, connect with Quickconnect, upload, and restart.

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.