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.
/pingTools 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 commandDeploy 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 deploymentsHTTPS 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 dashboardOne 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 credentialsPersistent 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 enginesMatch 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.
- Deploy discord.js · Node.js 22 on Spark
discord.js · Node.js 22
For a JavaScript project compatible with Node.js 22. Include package.json and the entry file your bot starts.
- Deploy discord.js · Node.js 24 on Spark
discord.js · Node.js 24
For a discord.js project tested on Node.js 24. Check the engines field and the Node version used by your build.
- Deploy discord.py · Python 3.12 on Spark
discord.py · Python 3.12
For a Python 3.12 bot. Declare discord.py and your extensions in requirements.txt.
- Deploy discord.py · Python 3.13 on Spark
discord.py · Python 3.13
For a bot tested on Python 3.13. Check that your extensions and binary dependencies support this interpreter.
- Deploy JDA · Java 21 on Relay
JDA · Java 21
Run a Java 21 bot from a runnable JAR with its dependencies. Set JAR_FILE to the uploaded artifact.
- Deploy Node.js bot with dashboard on Spark
Node.js bot with dashboard
Run a Discord bot and an HTTPS dashboard in one Node.js deployment.
- Deploy Python bot with dashboard on Spark
Python bot with dashboard
Run a Discord bot and an HTTPS dashboard in one Python deployment.
Get a reply in your test server
Prepare the project
For discord.js, upload your entry file and
package.json. For the discord.py starter, keepmain.pybesiderequirements.txt. Build the Java example with Java 21 and Gradle 8.14.3. Rungradle shadowJar, then uploadbot.jar.Connect your application
Open the Bot tab in the Discord Developer Portal. Save the token as
BOT_TOKENin Variables. Install the application in a test server with thebotandapplications.commandsscopes.Check login and command registration
Start the deployment. In your test server, select this application’s
/pingcommand and send it. Apongreply confirms the bot handled an interaction.
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 moveInventory 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.
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.
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.
| Plan | Memory | Storage | CPU | Deployments | File backup | History | Per month |
|---|---|---|---|---|---|---|---|
| Spark | 256 MB | 512 MB | 25% | 1 | Every hour | 24 hours | $0.00 |
| Relay | 1 GB | 5 GB | 50% | 2 | Every 15 minutes | 3 days | $2.25 |
| Circuit | 2 GB | 8 GB | 100% | 4 | Every 15 minutes | 7 days | $3.25 |
| Grid | 4 GB | 15 GB | 200% | 8 | Every 5 minutes | 14 days | $6.00 |
| Fleet | 8 GB | 25 GB | 250% | 12 | Every 1 minute | 30 days | $9.00 |
Spark1 deployment$0.00
- Memory
- 256 MB
- Storage
- 512 MB
- CPU
- 25%
- Deployments
- 1
- File backup
- Every hour
- History
- 24 hours
Relay2 deployments$2.25
- Memory
- 1 GB
- Storage
- 5 GB
- CPU
- 50%
- Deployments
- 2
- File backup
- Every 15 minutes
- History
- 3 days
Circuit4 deployments$3.25
- Memory
- 2 GB
- Storage
- 8 GB
- CPU
- 100%
- Deployments
- 4
- File backup
- Every 15 minutes
- History
- 7 days
Grid8 deployments$6.00
- Memory
- 4 GB
- Storage
- 15 GB
- CPU
- 200%
- Deployments
- 8
- File backup
- Every 5 minutes
- History
- 14 days
Fleet12 deployments$9.00
- Memory
- 8 GB
- Storage
- 25 GB
- CPU
- 250%
- Deployments
- 12
- File backup
- Every 1 minute
- History
- 30 days
Prices in USD before tax. A year costs the same as ten monthly payments.
Compare all plan featuresCan 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.