Discord bot hosting

Deploy a small Discord bot from a private GitHub repository. Spark includes 256 MB RAM and hourly backups. No card required. Renew free every 7 days.

Slash command example
In your test server/ping
Bot replypong
Download the discord.js starter

Tools for running a Discord community bot

Gateway connections

A moderation or ticket bot can sit idle between events while its gateway connection stays open. Watch the login in Console, then exercise a real command in a test channel.

Test a slash command

Deploy from your bot repository

Connect the branch that contains your handlers and dependency manifest. Each push to that branch has a recorded outcome, so you can match a command change to the commit you shipped.

Set up GitHub deployments

HTTPS dashboard and Discord sign-in

Run your Discord bot and its dashboard in one Node.js or Python deployment. Use the platform HTTPS address for your Discord OAuth2 callback on hosts that offer the dashboard profiles.

Set up a Discord dashboard

Discord crash alerts

Connect a Discord webhook to receive alerts about unexpected stops. Open the deployment’s Console to investigate the cause.

Set up crash alerts

One token per bot identity

Keep the application token in Variables. A test instance can run the same source as your community bot with its own Discord application, guild permissions and token.

Manage bot credentials

Persistent guild settings

A database gives welcome channels, ticket records and per-server preferences a home across bot releases. A small SQL table keyed by guild ID also makes it possible to look up one server without loading every server into memory.

Compare database engines

Match your Discord framework

Check the dependency file in your repository before choosing. A discord.js project needs Node.js, discord.py runs on Python, and JDA needs a Java runtime with room for the JVM. Choose a dashboard profile if your Node.js or Python bot also serves an HTTP app.

Get a reply in your test server

  1. Prepare the project

    For discord.js, upload your entry file and package.json. For the discord.py starter, keep main.py beside requirements.txt. Build the Java example with Java 21 and Gradle 8.14.3. Run gradle shadowJar, then upload bot.jar.

  2. Connect your application

    Open the Bot tab in the Discord Developer Portal. Save the token as BOT_TOKEN in Variables. Install the application in a test server with the bot and applications.commands scopes.

  3. Check login and command registration

    Start the deployment. In your test server, select this application’s /ping command and send it. A pong reply confirms the bot handled an interaction.

Read the full deployment guide

Move a Discord bot off your laptop

An existing bot can keep its Discord username, installations and commands. Move the process and its data, then verify it in a guild where you can see exactly which bot answered.

Check a command that fails after the move
  1. Inventory the files the bot writes

    Ticket transcripts, a local SQLite file and downloaded attachments may live outside Git. Stop writes before copying those files. Upload them at the paths your handlers expect and leave dependency installation to the hosted runtime.

  2. Rehearse with a test application

    Give the test application its own token and install it in a private guild. Start the hosted project, run a command that reads a setting, change that setting, then restart and check it again. This catches working-directory mistakes before the move.

  3. Switch the production identity once

    Stop the laptop process, take the final state copy and save the production token in the hosted deployment. Start it and invoke one harmless command in the original guild. If you need to switch back, stop the hosted process first.

Discord bot hosting plans

One account plan covers your deployments. Divide its memory, storage and CPU among the projects you run together.

PlanMemoryStorageCPUDeploymentsFile backupHistoryPer year
Spark256 MB512 MB25%1Every hour24 hours$0.00
Relay1 GB5 GB50%2Every 15 minutes3 days$22.50
Circuit2 GB8 GB100%4Every 15 minutes7 days$32.50
Grid4 GB15 GB200%8Every 5 minutes14 days$60.00
Fleet8 GB25 GB250%12Every 1 minute30 days$90.00
Spark1 deployment$0.00
Memory
256 MB
Storage
512 MB
CPU
25%
Deployments
1
File backup
Every hour
History
24 hours
Compare Spark
Relay2 deployments$22.50
Memory
1 GB
Storage
5 GB
CPU
50%
Deployments
2
File backup
Every 15 minutes
History
3 days
Compare Relay
Circuit4 deployments$32.50
Memory
2 GB
Storage
8 GB
CPU
100%
Deployments
4
File backup
Every 15 minutes
History
7 days
Compare Circuit
Grid8 deployments$60.00
Memory
4 GB
Storage
15 GB
CPU
200%
Deployments
8
File backup
Every 5 minutes
History
14 days
Compare Grid
Fleet12 deployments$90.00
Memory
8 GB
Storage
25 GB
CPU
250%
Deployments
12
File backup
Every 1 minute
History
30 days
Compare Fleet

Prices in USD before tax. A year costs the same as ten monthly payments.

Compare all plan features
Can I keep the bot that is already installed in my server?

Yes. Use the token belonging to the existing Discord application. Moving the process preserves that application’s identity and guild installations. Copy any settings, transcripts or other data your own bot stores locally.

Can I run a test bot and a live bot on one account?

Yes. Use two deployments with separate tokens and reserve memory for both. A plan with two slots works if both projects fit its shared CPU, memory and disk limits.

Why is my bot online but /ping is missing?

Check which application you installed and which one owns the token. Then read Console for a registration error. A successful gateway login can happen before Discord has registered the command.

Does the starter need the message content intent?

The slash-command starter listens for interactions. If your own code reads ordinary guild messages, check the gateway intents requested by your library and enable the required privileged intent in the Developer Portal.

How do I replace a token?

Reset the token for the same application, update BOT_TOKEN in Variables and restart. Stop any local copy using that application before testing the replacement.