Build log · 2026

A Discord ship-tracker bot in a weekend.
And the 3-process setup that keeps it alive 24/7.

A real build log: I wanted a Discord bot that tracks community launches, sends weekly digests, and never goes offline. Free hosting tiers killed v1 in 15 minutes. Here's the web service + worker + scheduled-script architecture that fixed it — with discord.js code you can copy.

Web services, workers, and scheduled scripts — same repo.

Deploy bots, webhook receivers, and background jobs without fighting your platform's primitives.

Workers + scheduled scripts on Pro 1 service free forever Free SSL & custom domain Never sleeps on free tier
Frequently asked

Quick answers

Why do free-tier Discord bots go offline?

Free hosting tiers typically sleep after 15–30 minutes of idle HTTP traffic. A Discord bot mostly receives WebSocket gateway events, not HTTP, so the platform's idle detector misclassifies the bot as inactive.

What is a 3-process Discord bot architecture?

Three independent services sharing a Postgres + Redis backend: (1) a web service for HTTP health checks and admin dashboards, (2) a worker holding the persistent Discord WebSocket connection, and (3) a scheduled-script process for digests and cron jobs.

Why split a Discord bot into multiple services instead of one process?

Separation of concerns. A crash in the gateway worker does not take down the dashboard. A long-running digest job does not block message handling. Scheduled work runs at exact times, not when the gateway happens to be idle.

Can I run a 3-process Discord bot on HostingGuru?

Yes — the article's architecture maps directly: a web service, a worker, and an on-demand script. All three share env vars and the same git repo in one HostingGuru workspace.