Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 5.25 KB

File metadata and controls

81 lines (60 loc) · 5.25 KB

📚 Advanced Discord Bot Documentation

How commands work in Advanced Discord Bot (ADB).


🧩 ADB has no built-in commands

ADB's core is a lean bot runtime + dashboard. It ships with zero user-facing slash commands of its own. Every command your server gets comes from an installed plugin — a package named adb-plugin-*.

At startup the plugin loader discovers plugins from two places:

  • node_modules/ — anything matching adb-plugin-* with a plugin.json + entry file
  • the local plugins/ directory — the only in-repo plugin is plugins/administration (the dashboard itself)

Because the command set depends entirely on which plugins you install, this repo does not maintain a central slash-command list. Each plugin documents its own commands in its own README.

The flow: install → enable → deploy → commands appear

  1. Install a plugin — from the dashboard marketplace, or npm install adb-plugin-<name> in the bot's root.
  2. Enable it from the dashboard (writes it into the plugin config the loader reads).
  3. Deploy the commands to Discord:
    npm run deploy
    This runs node scripts/build-plugins.js && node deploy-commands.js, which gathers every enabled plugin's slash commands and registers them with Discord.
  4. Commands appear in your server. Plugin logic hot-reloads, but adding or changing a slash command definition always needs a fresh npm run deploy.

🔌 Official plugins

From the registry at AdvancedDiscordBot/registry. The commands below are indicative — see each plugin's own README for the full, current reference.

Plugin What it adds
adb-plugin-moderation Moderation + tickets: /ban, /unban, /kick, /timeout, /warn, /warnings, /purge, /slowmode, /lock, /case, /history, /ticket …. Numbered case log with auto-escalation.
adb-plugin-levels XP & leveling from message activity: /level, /leaderboard, plus /level-config and /level-roles for admins. Role rewards on level-up.
adb-plugin-aegis Server protection: anti-raid, anti-spam, link filtering, and alt/join-gate detection.
adb-plugin-automod Rule-based auto-moderation: `/automod rule add
adb-plugin-autorole Automatically assigns roles to members on join.
adb-plugin-confessions Anonymous confessions with optional approval: /confess text, /confess-admin ….
adb-plugin-counting Counting game channel: `/counting channel
adb-plugin-custom-commands Lets admins define their own custom text/response commands.
adb-plugin-giveaways Giveaways: `/giveaway start
adb-plugin-invite-tracker Invite tracking + leaderboard: `/invites me
adb-plugin-reaction-roles Self-assignable roles via reactions/buttons.
adb-plugin-reminders Personal reminders: `/remind set
adb-plugin-server-logs Audit logging by category: `/log set
adb-plugin-tempvoice Temporary "join-to-create" voice channels with owner controls (lock, limit, rename, permit/deny, claim).
adb-plugin-todo Personal to-do lists: `/todo add
adb-plugin-welcome Configurable welcome / goodbye messages and cards.

Command names above were taken from each plugin's README/source where verified. Exact options and subcommands can change between versions — the plugin's own README is always the source of truth.


🔗 Where to look next

  • Per-plugin command reference — each plugin's README.md (linked in the table above) lists its full, current command set.
  • Marketplace / registry — browse and install plugins from the dashboard, or see the registry: AdvancedDiscordBot/registry.
  • Building your own pluginCREATE-PLUGIN.md.
  • Getting started with the botREADME.md.

Adding or changing a plugin's slash commands? Re-run npm run deploy so Discord receives the updated command list.