{"id":15018133,"url":"https://github.com/probot/commands","last_synced_at":"2025-05-08T00:20:41.296Z","repository":{"id":52822466,"uuid":"103212953","full_name":"probot/commands","owner":"probot","description":"A Probot extension that adds slash commands to GitHub","archived":false,"fork":false,"pushed_at":"2024-01-30T02:49:48.000Z","size":44,"stargazers_count":65,"open_issues_count":6,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-25T04:19:07.956Z","etag":null,"topics":["probot","probot-extension"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/probot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-09-12T02:38:45.000Z","updated_at":"2024-09-21T12:51:49.000Z","dependencies_parsed_at":"2024-06-18T17:22:05.140Z","dependency_job_id":null,"html_url":"https://github.com/probot/commands","commit_stats":{"total_commits":19,"total_committers":5,"mean_commits":3.8,"dds":0.5263157894736843,"last_synced_commit":"df9d21ce2023c8f4af87b37e580ce8a334fefcde"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fcommands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fcommands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fcommands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fcommands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probot","download_url":"https://codeload.github.com/probot/commands/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252974244,"owners_count":21834228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["probot","probot-extension"],"created_at":"2024-09-24T19:51:29.706Z","updated_at":"2025-05-08T00:20:41.221Z","avatar_url":"https://github.com/probot.png","language":"JavaScript","readme":"# Probot: Commands\n\n\u003e A [Probot](https://github.com/probot/probot) extension that adds slash commands to GitHub.\n\nFor example, from a comment box someone could type:\n\n![Slash commands in a comment box](https://user-images.githubusercontent.com/173/30231736-d752e7dc-94b1-11e7-84bf-d8475733d701.png)\n\nA Probot app could then use this extension to listen for the `remind` slash command.\n\n## Installation\n\n```\n$ npm install --save probot-commands\n```\n\n## Usage\n\n```js\nconst commands = require('probot-commands')\n\nmodule.exports = robot =\u003e {\n  // Type `/label foo, bar` in a comment box for an Issue or Pull Request\n  commands(robot, 'label', (context, command) =\u003e {\n    const labels = command.arguments.split(/, */);\n    return context.github.issues.addLabels(context.issue({labels}));\n  });\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobot%2Fcommands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobot%2Fcommands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobot%2Fcommands/lists"}