Guides

Deploying a Discord bot

Last updated: 2026-09-04

Upload your Node.js or Python bot and keep it online 24/7.

Upload your code

Use the File Manager or pull directly from Git. Your entry file is usually index.js or main.py.

Node.js bots

  1. 1Set the startup command variable to your entry file
  2. 2Add dependencies in package.json
  3. 3Start the server — dependencies install automatically

Python bots

Put your packages in requirements.txt; they are installed on boot.

Tokens & secrets

Never commit your bot token. Store it in a .env file inside the container and load it with dotenv (Node) or python-dotenv (Python).

Keeping it online

Enable auto-restart in the panel so the bot comes back after a crash. Check the Console tab for stack traces.