Host a Discord bot for free on Deplexo
Deploy your Discord bot from GitHub and keep it running 24/7. There are no cold starts or sleep timers, so the bot stays online.
Why Deplexo for Discord bots
Most free hosting platforms put apps to sleep after a period of inactivity. A Discord bot has to stay connected to the gateway, so when the host sleeps, the bot goes offline. Deplexo's free tier never sleeps or cold starts, so your bot stays connected.
What you need
- A GitHub repo with your bot code.
- A bot token from the Discord Developer Portal.
deplexo.yamlin the repo root. This is optional, since auto-detect handles most setups.
Deploy steps
- Push your bot code to GitHub.
- Connect the repo on Deplexo.
- Add
BOT_TOKENas an environment variable in the dashboard. - Deploy. The bot starts automatically in its container.
Example configuration
version: 1
type: worker
build:
framework: auto
run:
command: node bot.jsPort is required even if your bot doesn't serve HTTP, but any value works. See the Node.js deploy guide or Python deploy guide for more configuration options.
Resource limits
The free tier has 128 MB RAM, 1 shared CPU, and 250 MB disk, which is enough for most Discord bots. If your bot does heavier work, Starter ($5/mo) gives you 512 MB. See pricing.