Discord bot hosting
Keep your bot running even when your PC is off
Put the Discord bot you built on a server and run it 24 hours a day. Bots are fairly lightweight, so you can start with a small plan, and as you add more bots, you can run several of them together on one server.
Always on, 24 hours a day
Register your bot with pm2 or systemd, and it restarts automatically if it stops and starts up again when the server reboots.
Start small
Bots don't accept incoming connections, so you don't need to open any ports, and in most cases a small amount of memory is enough.
Manage from the Dashboard
From the Dashboard, you can start, stop, and reboot your server, check traffic, and renew right away.
How to get started
Step 1
Choose a plan
For a single bot, you can start with the smallest plan. If it does heavy work, like a music bot, choose a plan one step up.
Step 2
Order with Ubuntu
Choose Ubuntu as the operating system. Most bot setup resources are based on Ubuntu.
Step 3
Upload your bot and keep it running
Follow the Discord bot guide to move your code over, then register it with pm2 for Node.js or systemd for Python, and you're done.
Recommended plans
The lowest-priced plans with 1GB of memory or more.
If you need different specs, see all plans.
FAQ
- Where should I keep my bot token?
- Don't write it directly in your code; keep it separately in a .env file on the server. If your token gets uploaded to GitHub or elsewhere, anyone can control your bot.
- Can I run multiple bots on one server?
- Yes. Register each bot in pm2 under its own name, and you can start and restart them separately.
- Do I need to open firewall ports?
- A typical Discord bot connects out to Discord first, so there's no need to open ports. If you also run a web dashboard, just open that port.
- My bot keeps shutting down.
- First, check the logs with pm2 logs or journalctl. Token errors and missing packages are the most common causes. If the server itself isn't responding, see the connection troubleshooting guide.