How to Host a Discord or Twitch Bot
How to Host a Discord or Twitch Bot
You can host most Discord or Twitch bots using our generic bot hosting eggs (Node.js, Python, or Java). These are designed to run your bot code with minimal setup.
Step 1: Order Your Server
When ordering your server: (You can swap anytime)
-
Choose the correct egg:
- Node.js (JavaScript bots)
- Python (e.g. discord.py)
- Java (e.g. JDA bots)
-
Allocate at least 512MB RAM (1GB recommended)
⚠️ Warning: Low memory can cause installs or bots to crash.
Step 2: Add Your Bot Files
You can use one of the following:
Option A: Git Repository (Recommended)
- Set your Git repository URL
- Choose a branch (optional)
- Enable auto-pull if available
Option B: Manual Upload
- Upload files via File Manager or SFTP
🧠 Tip: Git makes updating your bot much easier.
Step 3: Configure Startup
Set your bot’s main file:
- Node.js:
index.js,bot.js - Python:
main.py,bot.py - Java:
.jarfile
Make sure:
- Your dependencies are listed (
package.json,requirements.txt, etc.) - Your startup command matches your file
Step 4: Start the Server
- Click Start
- Open the Console
- Confirm your bot connects successfully
Step 5: Fix “Stuck on Starting” (Important)
Some setups require a startup completion message.
-
Find a line your bot prints when fully started
- Example:
Logged in as BotName
- Example:
-
Use that as the startup/done message
⚠️ Warning: If this isn’t set correctly, the panel may never show the server as online.
Common Issues
Bot not starting
- Check the main file is correct
- Check console for errors
Missing dependencies
- Ensure dependency files exist
- Restart server to reinstall
Bot crashes instantly
- Check for missing environment variables (like tokens)
Best Practices
🧠 Store tokens in environment variables, not in your code
🧠 Use Git for quick updates
⚠️ Never share your bot token with anyone