Special Offer: Save Upto 10% on Game Servers & Bot Hosting
Bot Hosting3 min read

How to Upload and Run Your Discord Bot

From local code to a live bot on Endercloud in five minutes.


Introduction

Endercloud bot hosting runs your Discord bot 24/7 with a friendly web panel, no SSH gymnastics required.

Step-by-Step

  1. 1Open the Game Panel
  2. 2Pick your bot instance
  3. 3Open File Manager
  4. 4Upload your bot files (drag and drop the whole folder)
  5. 5Make sure package.json (Node) or requirements.txt (Python) is at the root
  6. 6Go to Startup β†’ set the command:
  • Node.js: node index.js
  • Python: python3 bot.py
  1. 1Click Save, then Start on the Console tab

Your console should print Bot is ready! or whatever your start message is.

Recommended Project Structure

/your-bot
  index.js          # main entry
  package.json      # dependencies
  .env              # secrets (don't commit!)
  /commands
  /events

Install Dependencies

  • The panel runs npm install / pip install -r requirements.txt automatically on first start
  • To re-install manually, open Console and run npm install or pip install -r requirements.txt

Tip: Push your code to a private Git repo, then use the panel's Git tab to pull updates instead of re-uploading every time.

Warning: Never put your bot token directly in code. Use environment variables instead.

Need More Help?

Bot crashing on start? Paste the error from the console into Discord.

Was this helpful?

Your feedback helps us write better guides.

Related Articles

More from Bot Hosting.

Still need help?

Our team is on Discord around the clock. Real humans, real answers.