{"id":19319169,"url":"https://github.com/ericrabil/botkit","last_synced_at":"2026-06-09T21:31:18.796Z","repository":{"id":57212454,"uuid":"364294565","full_name":"EricRabil/botkit","owner":"EricRabil","description":"My framework for Discord.JS bots, abstracting over Commando","archived":false,"fork":false,"pushed_at":"2021-05-05T18:12:12.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T20:13:36.120Z","etag":null,"topics":[],"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/EricRabil.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}},"created_at":"2021-05-04T15:03:48.000Z","updated_at":"2021-05-05T18:12:15.000Z","dependencies_parsed_at":"2022-08-31T08:00:33.270Z","dependency_job_id":null,"html_url":"https://github.com/EricRabil/botkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EricRabil/botkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricRabil%2Fbotkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricRabil%2Fbotkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricRabil%2Fbotkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricRabil%2Fbotkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EricRabil","download_url":"https://codeload.github.com/EricRabil/botkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricRabil%2Fbotkit/sbom","scorecard":{"id":46426,"data":{"date":"2025-08-11","repo":{"name":"github.com/EricRabil/botkit","commit":"12d4854b2b7fd6c42ccc8e13548968a76c7ab841"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-fx4w-v43j-vc45","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T22:52:57.123Z","repository_id":57212454,"created_at":"2025-08-14T22:52:57.124Z","updated_at":"2025-08-14T22:52:57.124Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34127343,"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-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-10T01:22:24.702Z","updated_at":"2026-06-09T21:31:18.775Z","avatar_url":"https://github.com/EricRabil.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# botkit\nMy framework for Discord.JS bots, abstracting over Commando\n\n## Motivation\nCommando developers are too nitpicky with the level of customization you can have. Why? I don't know.\n\n\u003e If you deny a feature that's been asked for and shows decent demand, your users will find a way to make it anyways. Don't shoot things down blindly. Customization for a bot framework is key to making bots personalized and unique.\n\n## Design\nBotKit is very much decorator-oriented. It aims to be as declarative as possible, so that you don't need to worry about the actual discord layer. Just write your methods and go!\n\n## Example\n```ts\nimport { CommandoMessage } from \"discord.js-commando\";\nimport { setup, DPlugin, DPluginLoaded, DPluginUnloaded, DCommandReplied, DCommandCompleted, DCommandDenied, DCommandGroup, BaseDPlugin, DCommandInfo } from \"discord-botkit\";\n\n@DPlugin(\"ping\")\n@DCommandGroup(\"ping\")\nexport class PingPlugin extends BaseDPlugin {\n    @DCommand(\"ping\", \"does a ping!\")\n    async ping(message: CommandoMessage) {\n        const count = await this.increment();\n\n        await message.reply(`Ping ${count}`);\n    }\n\n    @DPluginLoaded\n    pluginLoaded() {}\n\n    @DPluginUnloaded\n    pluginUnloadedMethodNameDoesntMatter() {}\n\n    @DPluginUnloaded\n    multipleListenersItDoesntCare() {}\n\n    @DCommandReplied\n    botReplied(botMessage: Message | Message[], origin: CommandoMessage) {}\n\n    @DCommandCompleted\n    commandCompleted(botMessage: Message | Message[], origin: CommandoMessage) {}\n\n    @DCommandDenied\n    userWasDeniedACommand(message: Message, info: DCommandInfo) {}\n\n    async increment(): Promise\u003cnumber\u003e {\n        const oldCount = await this.get\u003cnumber\u003e(\"counter\");\n        await this.set(\"counter\", oldCount + 1);\n        return oldCount + 1;\n    }\n}\n\n@DCommandGroup(\"ping-no-plugin\")\nexport class PingCommandGroup {\n    @DCommand(\"ping2\", \"pings hehee\")\n    async ping(message: CommandoMessage) {\n        // its nice to nest into a plugin because you get persistence. if you dont need it, use command groups\n        await message.reply(`Ping...`);\n    }\n}\n\n// zeroconf - expects you to provide the required dotenv variables\nsetup({\n    dotenv: true,\n    plugins: [new PingPlugin],\n    commands: [new PingCommandGroup]\n})\n\n// inline\nsetup({\n    discord: {\n        // DISCORD_TOKEN\n        token: \"chicken\",\n        // DISCORD_{discord.js config key}\n    },\n    database: {\n        // DB_TYPE\n        type: \"postgres\",\n        // DB_DATABASE\n        database: \"my-bot-db\",\n        // ...more orm options\n        // DB_{typeorm config key}\n    },\n    plugins: [new PingPlugin],\n    commands: [new PingCommandGroup]\n})\n\n// dont want/have redis?\nsetup({\n    redis: false\n})\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericrabil%2Fbotkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericrabil%2Fbotkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericrabil%2Fbotkit/lists"}