{"action":"created","issue":{"url":"https://api.github.com/repos/MycroftAI/mycroft-core/issues/1690","repository_url":"https://api.github.com/repos/MycroftAI/mycroft-core","labels_url":"https://api.github.com/repos/MycroftAI/mycroft-core/issues/1690/labels{/name}","comments_url":"https://api.github.com/repos/MycroftAI/mycroft-core/issues/1690/comments","events_url":"https://api.github.com/repos/MycroftAI/mycroft-core/issues/1690/events","html_url":"https://github.com/MycroftAI/mycroft-core/pull/1690","id":341784345,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxODM3NjE5","number":1690,"title":"Add new MycroftSkill.ask_yesno() method","user":{"login":"penrods","id":16079445,"node_id":"MDQ6VXNlcjE2MDc5NDQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16079445?v=4","gravatar_id":"","url":"https://api.github.com/users/penrods","html_url":"https://github.com/penrods","followers_url":"https://api.github.com/users/penrods/followers","following_url":"https://api.github.com/users/penrods/following{/other_user}","gists_url":"https://api.github.com/users/penrods/gists{/gist_id}","starred_url":"https://api.github.com/users/penrods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penrods/subscriptions","organizations_url":"https://api.github.com/users/penrods/orgs","repos_url":"https://api.github.com/users/penrods/repos","events_url":"https://api.github.com/users/penrods/events{/privacy}","received_events_url":"https://api.github.com/users/penrods/received_events","type":"User","site_admin":false},"labels":[{"id":664720248,"node_id":"MDU6TGFiZWw2NjQ3MjAyNDg=","url":"https://api.github.com/repos/MycroftAI/mycroft-core/labels/CLA:%20Yes","name":"CLA: Yes","color":"0e8a16","default":false},{"id":572162072,"node_id":"MDU6TGFiZWw1NzIxNjIwNzI=","url":"https://api.github.com/repos/MycroftAI/mycroft-core/labels/tagged%20for%20review%20and%20potential%20merge","name":"tagged for review and potential merge","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-17T06:36:49Z","updated_at":"2018-08-20T22:11:09Z","closed_at":"2018-07-19T07:34:33Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/MycroftAI/mycroft-core/pulls/1690","html_url":"https://github.com/MycroftAI/mycroft-core/pull/1690","diff_url":"https://github.com/MycroftAI/mycroft-core/pull/1690.diff","patch_url":"https://github.com/MycroftAI/mycroft-core/pull/1690.patch"},"body":"New function allows simple yes/no queries to be asked, capturing common\r\naffirmations (e.g. \"yes\", \"yeah\", \"yep\", \"sure\", ...) and rejections\r\n(\"no\", \"nope\", ...) that are consistent across all skills.\r\n\r\nThe method will return a normalized 'yes', 'no' or whatever else is spoken\r\nfor further parsing.  None is also possible.\r\n\r\nThis also adds the MycroftSkill.is_match() method to assist in matching\r\ntranslated synonyms within an utterance.\r\n\r\n## Description\r\n(Description of what the PR does, such as fixes # {issue number})\r\n\r\n## How to test\r\n(Description of how to validate or test this PR)\r\n\r\n## Contributor license agreement signed?\r\nCLA [ ] (Whether you have signed a [CLA - Contributor Licensing Agreement](https://mycroft.ai/cla/)\r\n"},"comment":{"url":"https://api.github.com/repos/MycroftAI/mycroft-core/issues/comments/414479977","html_url":"https://github.com/MycroftAI/mycroft-core/pull/1690#issuecomment-414479977","issue_url":"https://api.github.com/repos/MycroftAI/mycroft-core/issues/1690","id":414479977,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQ3OTk3Nw==","user":{"login":"backassward","id":38608535,"node_id":"MDQ6VXNlcjM4NjA4NTM1","avatar_url":"https://avatars2.githubusercontent.com/u/38608535?v=4","gravatar_id":"","url":"https://api.github.com/users/backassward","html_url":"https://github.com/backassward","followers_url":"https://api.github.com/users/backassward/followers","following_url":"https://api.github.com/users/backassward/following{/other_user}","gists_url":"https://api.github.com/users/backassward/gists{/gist_id}","starred_url":"https://api.github.com/users/backassward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backassward/subscriptions","organizations_url":"https://api.github.com/users/backassward/orgs","repos_url":"https://api.github.com/users/backassward/repos","events_url":"https://api.github.com/users/backassward/events{/privacy}","received_events_url":"https://api.github.com/users/backassward/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T22:11:09Z","updated_at":"2018-08-20T22:11:09Z","author_association":"NONE","body":"Thanks!! These two methods are really useful."}}
{"actor":{"display_login":"backassward"}}