Hosting a Discord bot

Updated 4 Nov 2026

Get your bot ready

  • Keep the token in a .env file, not in your code.
  • Have a package.json (Node.js) or requirements.txt (Python).

Upload it

In the File Manager, upload your code, the package file and your .env. Do not upload node_modules.

Start it

On the Startup tab, set the start file, such as index.js or bot.py. Press Start and watch the Console.

Turn on intents

If your bot cannot read messages, open the Discord Developer Portal, go to Bot, and turn on Message Content Intent or Server Members Intent if your code uses them.

Problems

Cannot find module

Add the package to package.json or requirements.txt and restart.

Invalid token

Check your .env was uploaded and the token is current.

It starts then stops

Read the last console lines for the error.

Still stuck? Open a ticket and we will take a look.
Open a ticket

More guides