v1.0.0 — first public release

Discord bots, without the hassle

The framework that makes building Discord bots with discord.js simple, tidy, and fun.

JavaScript
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.

Everything you need for your bot

syntx.js handles the boring parts so you can focus on what makes your bot special.

Automatic commands

Define a command in one file and syntx.js registers it for you. No boilerplate.

Typed events

Listen to Discord events with autocompletion and clear names, just as simple as discord.js.

Tidy structure

A predictable folder layout so your project never turns into chaos.

100% compatible

syntx.js doesn't lock you in: use any discord.js feature whenever you need it.

Built for production

Error handling, intents, and command registration solved with good defaults.

Lightweight

A thin layer over discord.js. No heavy dependencies or hidden magic.

Ready to build your bot?

Follow the step-by-step guide and you'll have your first bot running in minutes.

Your first bot