{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/module-requests/issues/42","labels_url":"https://api.github.com/repos/sindresorhus/module-requests/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/module-requests/issues/42/comments","events_url":"https://api.github.com/repos/sindresorhus/module-requests/issues/42/events","html_url":"https://github.com/sindresorhus/module-requests/issues/42","id":116838374,"number":42,"title":"Aggregate \"+1\" comments of an issue into one single comment with @mention of +1'ers  ","user":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-13T19:42:46Z","updated_at":"2015-11-13T20:06:35Z","closed_at":null,"body":"This is more like a script but can be wrapped inside a module. The +1 comments on issues are annoying and a lot of people are deleting them. Instead of this we can have a bot that goes through issues one by one and does following:\r\n\r\n* If there is no \"+1\" comment ignore it\r\n* For each \"+1\" comment\r\n  * look for \"all of +1s comment\" generated previously \r\n     * if that comment doesn't exist create one and put @mention of all +1ers in it\r\n     * otherwise edit the comment and add +1ers @mentions to the comment \r\n * Delete the +1 comment\r\n\r\nDetecting a \"+1\" comment\r\nA comment is a \"+1\" comment if:\r\n\r\n* only includes one of the following: \r\n  * \"+1\"\r\n  * \":+1:\"\r\n  * \"good idea\"\r\n  * \"me too\"\r\n  * And possibly many more...\r\n* includes one of the list above and one or many emojis like \"+1 :smile:\"\r\n"},"comment":{"url":"https://api.github.com/repos/sindresorhus/module-requests/issues/comments/156543508","html_url":"https://github.com/sindresorhus/module-requests/issues/42#issuecomment-156543508","issue_url":"https://api.github.com/repos/sindresorhus/module-requests/issues/42","id":156543508,"user":{"login":"forivall","id":760204,"avatar_url":"https://avatars.githubusercontent.com/u/760204?v=3","gravatar_id":"","url":"https://api.github.com/users/forivall","html_url":"https://github.com/forivall","followers_url":"https://api.github.com/users/forivall/followers","following_url":"https://api.github.com/users/forivall/following{/other_user}","gists_url":"https://api.github.com/users/forivall/gists{/gist_id}","starred_url":"https://api.github.com/users/forivall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forivall/subscriptions","organizations_url":"https://api.github.com/users/forivall/orgs","repos_url":"https://api.github.com/users/forivall/repos","events_url":"https://api.github.com/users/forivall/events{/privacy}","received_events_url":"https://api.github.com/users/forivall/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T20:06:35Z","updated_at":"2015-11-13T20:06:35Z","body":":clap:\r\n\r\n:clap:\r\n\r\n:clap:"}}