{"id":50445074,"url":"https://github.com/valaksi/discord-command-controls","last_synced_at":"2026-05-31T21:00:36.479Z","repository":{"id":345837048,"uuid":"1187548773","full_name":"valaksi/discord-command-controls","owner":"valaksi","description":"Reusable command catalog and policy helpers for Discord bots and dashboards.","archived":false,"fork":false,"pushed_at":"2026-03-21T12:34:11.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T14:00:30.795Z","etag":null,"topics":["command-management","dashboard","discord","discord-bot","discordjs","moderation","permissions","rbac","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valaksi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-20T21:20:04.000Z","updated_at":"2026-03-21T12:34:14.000Z","dependencies_parsed_at":"2026-03-21T14:00:33.021Z","dependency_job_id":null,"html_url":"https://github.com/valaksi/discord-command-controls","commit_stats":null,"previous_names":["vuguul/discord-command-controls"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/valaksi/discord-command-controls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaksi%2Fdiscord-command-controls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaksi%2Fdiscord-command-controls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaksi%2Fdiscord-command-controls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaksi%2Fdiscord-command-controls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valaksi","download_url":"https://codeload.github.com/valaksi/discord-command-controls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaksi%2Fdiscord-command-controls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33748607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-management","dashboard","discord","discord-bot","discordjs","moderation","permissions","rbac","typescript"],"created_at":"2026-05-31T21:00:28.500Z","updated_at":"2026-05-31T21:00:36.465Z","avatar_url":"https://github.com/valaksi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord-command-controls\n\n![CI](https://github.com/valaksi/discord-command-controls/actions/workflows/ci.yml/badge.svg)\n![MIT License](https://img.shields.io/badge/license-MIT-8fe3c7)\n\nReusable command catalog and policy helpers for Discord bots and admin dashboards.\n\nThis 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.\n\n## What it gives you\n\n- command catalog metadata\n- per-command enable/disable switches\n- role allow/deny lists\n- channel allow/deny lists\n- helpers to round-trip policy state through dashboard config JSON\n\n## Install\n\n```bash\nnpm install\n```\n\n## Test\n\n```bash\nnpm test\nnpm run typecheck\n```\n\n## Maintenance\n\n- Keep command metadata and policy targets in sync.\n- Add tests when command policy behavior changes.\n- Do not commit Discord tokens, guild IDs from private servers, webhook URLs, or dashboard secrets.\n\n## Why this exists\n\nThe goal is to keep Discord command governance in one place instead of duplicating logic between the bot runtime and the admin UI.\n\n## Author\n\nBuilt and published by Valaksi.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalaksi%2Fdiscord-command-controls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalaksi%2Fdiscord-command-controls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalaksi%2Fdiscord-command-controls/lists"}