The framework that makes building Discord bots with discord.js simple, tidy, and fun.
const { ERXClient, Intents } = require("syntx.js");
const client = new ERXClient({
token: process.env.TOKEN,
intents: Intents.Fast,
prefix: "!",
});
client.command({
name: "ping",
content: (message) => message.reply("Pong!"),
});
client.registerCommands();
client.start();A complete bot with one command, ready to deploy.
syntx.js handles the boring parts so you can focus on what makes your bot special.
Define a command in one file and syntx.js registers it for you. No boilerplate.
Listen to Discord events with autocompletion and clear names, just as simple as discord.js.
A predictable folder layout so your project never turns into chaos.
syntx.js doesn't lock you in: use any discord.js feature whenever you need it.
Error handling, intents, and command registration solved with good defaults.
A thin layer over discord.js. No heavy dependencies or hidden magic.
Follow the step-by-step guide and you'll have your first bot running in minutes.
Your first bot