← all projects
TypeScript
Node.js
Discord.js
Redis
Live2025· Engineer
Discord Bot
A modular Discord bot for developer communities.
Forge Bot is a TypeScript Discord bot with slash commands, a job queue, per-guild config, and rate-limit-aware command handling — built to scale across many servers.
30+
Commands
Sharding-ready
Servers
Queued
Latency
// case study
Forge Bot
A modular Discord bot for developer communities — slash commands, per-guild configuration, scheduled tasks, and a job queue so heavy commands never block the gateway.
Command pipeline
Commands are registered declaratively and dispatched through a rate-limit-aware queue backed by Redis.
ts
export const ping: Command = {
data: new SlashCommandBuilder().setName("ping").setDescription("Health check"),
async run(ctx) {
const ms = Date.now() - ctx.createdTimestamp;
await ctx.reply(`🏓 Pong — ${ms}ms`);
},
};Features
- Slash commands with typed options and autocomplete.
- Per-guild config stored in Redis with sane defaults.
- Job queue for long-running tasks (scraping, reminders, digests).
- Sharding-ready so it scales past Discord's per-process guild limits.