Deploy a Discord bot (Node.js or Python)
Deploy a Discord bot (Node.js or Python)
Bot hosting runs your code around the clock on our infrastructure, so it stays online when your own computer is off. You manage it from the same panel as a game server.
1. Upload your bot
Open the Files tab and upload your project (or upload a .zip and Extract it). Include package.json (Node.js) or requirements.txt (Python).
2. Set the startup values
In Startup, set the main file โ for example index.js or main.py โ and any package list variables the template shows.
3. Add your token safely
Store the bot token in an environment file or the config your code reads, not in code you upload to a public repository. Never share your token; anyone with it controls your bot.
4. Start it
Press Start in the Console. The first start installs dependencies, so it may take a moment. Watch for your bot's "logged in" message.
5. Update later
Upload the changed files, then Restart.
Troubleshooting
- Immediately stops: read the last lines of the console for a missing module or syntax error.
- "Invalid token": regenerate the token in the Discord Developer Portal.
- Out of memory: reduce cached data or upgrade the plan.
Related: Node.js hosting explained on our blog.
Was this not what you needed?
Tell us what you're trying to do and our team will help directly.
Open a support ticket Ask on Discord