Bundle Bot – Discord Self‑Hosted Group Manager
A Discord bot that lets trusted users (with specific roles) create private channel bundles (category + text + voice) and manage members and moderators.Features
- Create bundles with 2 text channels + 1 voice channel
- Invite / kick members
- Promote / demote moderators
- Toggle public read‑only view
- Delete bundle and all its channels
- Persistent SQLite database
Commands (require bundler role)
- /create <name> – Create a new bundle
- /invite <user> <bundle_id> – Add a user
- /kick <user> <bundle_id> – Remove a user
- /mod-add <user> <bundle_id> – Make user a moderator
- /mod-remove <user> <bundle_id> – Demote moderator
- /visibility <bundle_id> <true/false> – Set public or private
- /delete <bundle_id> – Delete bundle (owner only)
Setup
- Install Node.js 18+
- Clone the repository and run npm install
- Copy config.example.json to config.jsonand fill in:
- Bot token, client ID, guild ID
- One or more bundler role IDs
- Channel names and permissions
- Run npm run setup – creates the data/ folder for the database
- Run npm run deploy – registers slash commands with Discord
- Run npm run build then npm start
Troubleshooting
Used disallowed intentsEnable SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT in the Discord Developer Portal (Bot tab).
Unknown Message on delete
Safe to ignore – the bundle is still deleted.
Moderator powers persist after demotion
Update permissionUtils.ts (use .create instead of .edit).
