<!-- canonical: https://hostdc.xyz/host/discord · last updated 2026-11-14 · HostDC, Hosting for Discord, Stoat and Telegram bots and other always-on apps. -->

# Host a Discord bot

HostDC runs Discord bots written in JavaScript, TypeScript, Python, Go, Java, Rust, C# or PHP, online 24/7. You upload the project, we install its packages and keep the process alive.

## Three steps

**1. Bring your project.** Drop a zip, paste a GitHub URL or write it in the browser editor. You pick the runtime when you create the bot.

**2. Add your token.** Put it in the Secrets tab, never in the code. We store it AES-256-GCM encrypted and inject it as `DISCORD_TOKEN`.

**3. Press Deploy.** We install your packages, start the bot and stream the console live.

## Libraries

These run here, by language. A library that is not named runs too, as long as it runs on one of our runtimes.

- **JavaScript and TypeScript** (Node.js, Bun or Deno): [discord.js](/host/discord-js), Discordeno
- **Python:** [discord.py](/host/discord-py), [Pycord](/host/pycord)
- **Go:** [DiscordGo](/host/discordgo)
- **Java:** JDA
- **Rust:** Serenity
- **C#** (.NET): Discord.Net
- **PHP:** DiscordPHP

## Limits you should know

The free plan gives 256 MB RAM, 0.25 CPU and 1 GB storage for up to 2 bots, and you reactivate it every 30 days. Mini, Lite, Pro and Max are the paid plans, and none of them need reactivating. See the [pricing page](/pricing) for the whole table.

A bot can't play audio itself, because builds don't include `ffmpeg`. Use a Lavalink client with the Lavalink server Pro and Max host for you, one Lite can add, or one you run elsewhere on Free and Mini.

## Related

- [Host a discord.js bot](/host/discord-js)
- [Host a discord.py bot](/host/discord-py)
- [Host a Pycord bot](/host/pycord)
- [Host a DiscordGo bot](/host/discordgo)
- [Host a Telegram bot](/host/telegram)

## FAQ

### Which Discord library should I use?
The one for the language you already write. Every library here talks to the same Discord API.

### Does a Discord library that is not in the list run?
Yes, if it runs on one of our runtimes: Node.js, Bun, Deno, Python, Go, Java, Rust, .NET and PHP.

### Where does the Discord bot token go?
In the Bot token box on the Secrets tab. It fills `DISCORD_TOKEN`, which your code reads from the environment.
