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.yaml in the repo root. This is optional, since auto-detect handles most setups.

Deploy steps

  1. Push your bot code to GitHub.
  2. Connect the repo on Deplexo.
  3. Add BOT_TOKEN as an environment variable in the dashboard.
  4. Deploy. The bot starts automatically in its container.

Example configuration

version: 1
type: worker

build:
  framework: auto

run:
  command: node bot.js

Port 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.

Deploy now

Cookie choices

We use essential cookies to keep the site working. Cookieless page counts run automatically. Performance measurements are optional and only run with your consent.

Cookie policy