Community
Articles
Selected reads from the community - architecture patterns, tutorials, and real-world experiences building Discord bots with Spraxium.

The Complete Guide to Spraxium’s Signal System
How to route events from any backend service into your Discord bot, securely and reliably, using a Discord channel as a message bus


The Complete Guide to Spraxium’s Component System
How Discord UI components actually work under the hood, buttons, selects, modals, contexts, V2, and everything in between, I want to tell you something that no quick-start guide will take the time to say: Discord bots die not because you failed to write a command, but because you failed to keep your UI layer sane.


Building Spraxium v0.2.0, what’s been going in under the hood
For the past few days we’ve been heads-down on the next release of Spraxium, a Discord bot framework for TypeScript built on top of discord.js. 0.1.0 was about getting the fundamentals right, DI, slash commands, decorators, lifecycle hooks. 0.2.0 is about the things that actually matter when you run a bot in production. A few highlights from what’s shipping:


Dynamic Embeds in Spraxium: Defining the Shape Once, Filling It at Runtime
If you’ve been building Discord bots for a while, you’ve probably written this pattern more times than you’d like to admit: create an EmbedBuilder, call .setTitle(), call .setDescription(), call .setColor(), call .addFields(), and finally pass it to interaction.reply().

I Tried Building a Discord Bot the Right Way, Here’s What I Learned Using Spraxium
I’ve built a few Discord bots over the years. The first one was a single 400-line JavaScript file. It worked, but every time I needed to add something new, I had to dig through a spaghetti mess of client.on() calls and hope I didn’t break something else. Sound familiar?


Spraxium Guards: Gating Commands Without Cluttering Your Handlers
If you followed along with the first article, you have a working bot with a few slash commands. Now comes the part that separates bots people actually maintain long-term from bots that turn into a mess of nested if-statements: controlling who can run what.


Spraxium: the TypeScript framework that will change how you build Discord bots
I’m not sure if you know this, but recently a framework called Spraxium was released and is starting to draw a lot of attention from people who build Discord bots in a more professional way.
