https://github.com/valaksi/discord-command-controls
Reusable command catalog and policy helpers for Discord bots and dashboards.
https://github.com/valaksi/discord-command-controls
command-management dashboard discord discord-bot discordjs moderation permissions rbac typescript
Last synced: 13 days ago
JSON representation
Reusable command catalog and policy helpers for Discord bots and dashboards.
- Host: GitHub
- URL: https://github.com/valaksi/discord-command-controls
- Owner: valaksi
- License: mit
- Created: 2026-03-20T21:20:04.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-21T12:34:11.000Z (3 months ago)
- Last Synced: 2026-03-21T14:00:30.795Z (3 months ago)
- Topics: command-management, dashboard, discord, discord-bot, discordjs, moderation, permissions, rbac, typescript
- Language: TypeScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-command-controls


Reusable command catalog and policy helpers for Discord bots and admin dashboards.
This package extracts the command enable/disable and allow/deny policy logic into a small standalone TypeScript module so a bot runtime and a dashboard can share the same rules.
## What it gives you
- command catalog metadata
- per-command enable/disable switches
- role allow/deny lists
- channel allow/deny lists
- helpers to round-trip policy state through dashboard config JSON
## Install
```bash
npm install
```
## Test
```bash
npm test
npm run typecheck
```
## Maintenance
- Keep command metadata and policy targets in sync.
- Add tests when command policy behavior changes.
- Do not commit Discord tokens, guild IDs from private servers, webhook URLs, or dashboard secrets.
## Why this exists
The goal is to keep Discord command governance in one place instead of duplicating logic between the bot runtime and the admin UI.
## Author
Built and published by Valaksi.
## License
MIT