{"action":"created","issue":{"url":"https://api.github.com/repos/howdyai/botkit/issues/1275","repository_url":"https://api.github.com/repos/howdyai/botkit","labels_url":"https://api.github.com/repos/howdyai/botkit/issues/1275/labels{/name}","comments_url":"https://api.github.com/repos/howdyai/botkit/issues/1275/comments","events_url":"https://api.github.com/repos/howdyai/botkit/issues/1275/events","html_url":"https://github.com/howdyai/botkit/issues/1275","id":302437471,"number":1275,"title":"\"help\" plugin similar to Hubot's hubot-help module?","user":{"login":"jefftougas","id":121735,"avatar_url":"https://avatars1.githubusercontent.com/u/121735?v=4","gravatar_id":"","url":"https://api.github.com/users/jefftougas","html_url":"https://github.com/jefftougas","followers_url":"https://api.github.com/users/jefftougas/followers","following_url":"https://api.github.com/users/jefftougas/following{/other_user}","gists_url":"https://api.github.com/users/jefftougas/gists{/gist_id}","starred_url":"https://api.github.com/users/jefftougas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefftougas/subscriptions","organizations_url":"https://api.github.com/users/jefftougas/orgs","repos_url":"https://api.github.com/users/jefftougas/repos","events_url":"https://api.github.com/users/jefftougas/events{/privacy}","received_events_url":"https://api.github.com/users/jefftougas/received_events","type":"User","site_admin":false},"labels":[{"id":298557847,"url":"https://api.github.com/repos/howdyai/botkit/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T19:51:37Z","updated_at":"2018-03-05T19:59:22Z","closed_at":null,"author_association":"NONE","body":"Is there some plugin or mechanism available within the botkit community for getting botkit to print out available command syntax documentation in response to \"help\" messages? I've used https://github.com/hubotio/hubot-help with hubot in the past, but my searching for a botkit equivalent didn't yield anything.\r\n\r\nI acknowledge that building some equivalent help registry would be pretty easy without an external plugin - I was just wondering if there was a packaged solution for this problem already."},"comment":{"url":"https://api.github.com/repos/howdyai/botkit/issues/comments/370544644","html_url":"https://github.com/howdyai/botkit/issues/1275#issuecomment-370544644","issue_url":"https://api.github.com/repos/howdyai/botkit/issues/1275","id":370544644,"user":{"login":"peterswimm","id":1554372,"avatar_url":"https://avatars3.githubusercontent.com/u/1554372?v=4","gravatar_id":"","url":"https://api.github.com/users/peterswimm","html_url":"https://github.com/peterswimm","followers_url":"https://api.github.com/users/peterswimm/followers","following_url":"https://api.github.com/users/peterswimm/following{/other_user}","gists_url":"https://api.github.com/users/peterswimm/gists{/gist_id}","starred_url":"https://api.github.com/users/peterswimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterswimm/subscriptions","organizations_url":"https://api.github.com/users/peterswimm/orgs","repos_url":"https://api.github.com/users/peterswimm/repos","events_url":"https://api.github.com/users/peterswimm/events{/privacy}","received_events_url":"https://api.github.com/users/peterswimm/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T19:59:22Z","updated_at":"2018-03-05T19:59:22Z","author_association":"CONTRIBUTOR","body":"I am not aware of a publically available method, but you can do this in Botkit Studio using the controller.studio.getScripts() function:\r\nhttps://github.com/howdyai/botkit/blob/master/docs/readme-studio.md#controllerstudiogetscripts\r\n\r\nThe alternative to using studio is similar to what you are getting at, using a middleware handler to return responses based on \"help\" and a block of text or menu of your available commands \"help COMMAND\" type syntax."}}
{"actor":{"display_login":"peterswimm"}}