Discord Bot Hosting Guides

Cron jobs for Discord bots

Schedule restarts and recurring commands for a Discord bot: when to use the platform scheduler, when to use your library's task loop, and the timezone traps.

Updated 2026-09-06

Deploy a Discord bot from GitHub

Point HostDC at a GitHub repository, pick a branch and subfolder, and deploy your Discord bot from source instead of uploading a zip every time.

Updated 2026-09-06

Environment variables and bot tokens

How to store a Discord bot token safely, how HostDC encrypts and injects it, and how to use environment variables instead of hardcoding secrets.

Updated 2026-09-06

Free Discord bot hosting, explained

What free Discord bot hosting means, what HostDC gives you on the free plan, and where the limits are. No trial, no credit card.

Updated 2026-09-06

How to host a discord.js bot

A step-by-step walkthrough for hosting a discord.js bot on HostDC, from package-lock.json to slash commands answering in your server.

Updated 2026-09-06

How to host a discord.py bot 24/7

A step-by-step walkthrough for putting a discord.py bot online around the clock on HostDC, from requirements.txt to the first "Logged in as" line.

Updated 2026-09-06

HostDC vs your PC, a VPS, Replit and Railway

A comparison of where to run a Discord bot: your own machine, a VPS, Replit, Railway, Cybrancee, Wispbyte or HostDC, and which one fits which situation.

Updated 2026-09-24

How to keep a Discord bot online

Why bots go offline: sleeping laptops, crashes, gateway drops and expired hosting, plus what keeps one running around the clock.

Updated 2026-09-06