The official starting point for building ADB plugins. Clone this, fill in your details, and implement your logic.
- Copy this template folder and rename it
adb-plugin-yourname - Edit
plugin.json— replaceREPLACE_MEwith your plugin name, fill indisplayName,description,author, andversion - Implement your logic inside
index.js— export aload(ctx)function - Add configurable options to
configSchemaif needed - Add
Brochure.md— describe your plugin for the dashboard
adb-plugin-yourname/
├── plugin.json # Manifest: name, version, permissions, config schema
├── index.js # Entry point: exports load(ctx)
├── package.json # npm metadata
└── Brochure.md # Plugin description shown in the dashboard
Your load(ctx) function receives a PluginContext with:
| API | Description |
|---|---|
ctx.commands |
Register slash commands |
ctx.events |
Listen to Discord gateway events |
ctx.db |
Read/write the bot's database |
ctx.scheduler |
Schedule recurring tasks |
ctx.logger |
Namespaced logger |
When ready, publish to npm as adb-plugin-yourname and submit to the ADB plugin registry for marketplace listing.
Package names must start with
adb-plugin-to be discovered by the bot.