Things BB-DBotBits can build

bb-dbotbits is a modular JavaScript library for building Discord bots fast. Import what you need, call a function, and your bot is live. No boilerplate, no messy event wiring, just clean readable code.

Function-driven API

Every feature is one function call. No classes to extend. Import what you need and call it.

Modular by design

Only load the modules your bot actually uses. Replies, tickets, XP, radio, moderation. Each one is completely independent.

Host anywhere

Run it on your own machine, a Raspberry Pi, or a VPS. No proprietary hosting needed.

Fully documented

Every module has its own doc page. Jump in the Discord for support, previews, and feature requests.

How it works

Three steps and you have a running Discord bot.

01

Install the package

Run npm i bb-dbotbits in your project. Node 18+ is recommended. That is the only dependency you need.

02

Import your modules

Pull in only what you want. Replies, tickets, XP, radio, moderation. Each module stands on its own.

03

Call the function

One function call activates a module. Pass your config as arguments. No classes, no boilerplate.

Available modules

Everything you need to run a solid Discord server bot.

ModuleWhat it doesStatus
Standard RepliesAuto-respond to trigger wordsReleased
Reply EmbedsRich embed responsesReleased
TicketsFull support ticket systemReleased
RulesRules post with role-gateReleased
XP LevelingCommunity XP & rank systemReleased
Purge MessagesBulk delete channel messagesReleased
Spam & URL FilterRate limiting + link detectionReleased
Radio StationsStream audio into voice channelsReleased
WelcomerGreet new members, track who invited themReleased
GoodbyesMessage when members leave, show who invited themReleased
Counting GameCounting channel which allows memebers to count and the bot checks it's the next number and adds a green checkIn build as of 31st July 2026
Rock Paper ScissorsRock paper scissors gameIn build as of 31st July 2026
Heads or Tailsheads or tails gameIn build as of 31st July 2026

Here is what a full bot using multiple modules looks like:

mybot.js
const { discordReply } = require('bb-dbotbits/discordReplies');
const { discordTickets } = require('bb-dbotbits/discordTickets');
const { discordXP } = require('bb-dbotbits/discordXP');
const { discordRules } = require('bb-dbotbits/discordRules');
const { discordRadio } = require('bb-dbotbits/discordRadio');
const { checkSpamRate } = require('bb-dbotbits/checkSpamRate');
const { discordCheckSpam } = require('bb-dbotbits/discordCheckSpam');
const { discordPurgeCommands } = require('bb-dbotbits/discordPurge');
const { discordReplyEmbed } = require('bb-dbotbits/discordReplyEmbed');
const { DiscordWelcomer } = require('bb-dbotbits/discordWelcomer');
const { DiscordGoodbye } = require('bb-dbotbits/discordGoodbye');

// Enable each module with one call
discordXP();
discordRules();
discordTickets();
discordPurgeCommands();
checkSpamRate();
discordCheckSpam();

// Configure replies inline
discordReply('!help', 'Here\'s what I can do...');

// Stream a radio station into voice
discordRadio('SmoothJazz FM', 'https://stream.url/jazz', 'https://logo.url/jazz.png');

// Greet new members, show who invited them
DiscordWelcomer('Welcome to {server}, {user}!', { showInvitee: true });

// Say goodbye when members leave
DiscordGoodbye('Goodbye {username}, we will miss you!', { showInvitee: false });