Knowledge base
Discord Bot Hosting

Setting your startup command and variables

Last updated 8/1/2026 by Alfie Web Solutions

Each bot hosting server runs one of our Node.js, Python, or Java eggs, which controls how your bot is started. The Startup tab is where you tell it which file to run and configure any options the egg exposes.

Opening the Startup tab

  1. Log in to the panel and open your server.
  2. Click the Startup tab.

Common settings by egg type

  • Node.js: set the Main File variable to your bot's entry point (commonly index.js or main.js), and select the Node.js version your bot needs from the version dropdown.
  • Python: set the App Py File (or similarly named) variable to your entry point (commonly bot.py or main.py), and pick the Python version your bot was written for.
  • Java: set the Server Jar File (or build target) to your compiled .jar, and choose the Java version your bot requires.

Exact variable names vary slightly by egg version - anything shown on the Startup tab with a text box or dropdown is safe to adjust; hover over the "i" icon next to a variable if you're unsure what it does.

Applying changes

After changing any startup variable:

  1. Click Save (if shown) at the bottom of the Startup tab.
  2. Go to the Console tab and click Restart to apply the change.

Picking the wrong version

If your bot won't start after a version change, check the Console tab for an error - version mismatches (e.g. code written for Node.js 18 running on Node.js 14) are one of the most common causes, and are fixed by picking the version your bot was actually built for on the Startup tab.