Discord Bot

How do I set which file runs and start the bot?

After your files are uploaded, the last step is telling the panel which file to run and handing it your bot token. This article covers setting your entry file, storing your token safely, and starting the bot.

Setting your entry file and token

  1. Open the Startup tab and set the main file to run — for example index.js for Node.js or bot.py for Python.
  2. Put your bot token in the startup variables (or a .env / config file) rather than hard-coding it into your source.
  3. Save your changes, then press Start from the Console tab.

Once you press Start, the console will stream the boot output so you can watch your bot come online in real time.

Warning: Never commit or hard-code your token — use the Startup variables or an environment file. A leaked token lets anyone control your bot.

What happens on start

When you start the server, the panel runs your configured entry file with the runtime you selected. If your bot logs in successfully, you'll see it appear online in Discord. If something's off, the Console will print an error naming the cause — usually a wrong file path, a missing dependency, or an invalid token.

Frequently asked questions

My entry file is in a subfolder — what do I set? Include the folder in the path, for example src/index.js. Keeping the entry file in the root avoids this entirely.

Where do I see if it worked? Watch the Console after pressing Start. A successful login prints a "ready"/logged-in style message from your library.