{"action":"opened","issue":{"url":"https://api.github.com/repos/wzpan/dingdang-robot/issues/28","repository_url":"https://api.github.com/repos/wzpan/dingdang-robot","labels_url":"https://api.github.com/repos/wzpan/dingdang-robot/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/wzpan/dingdang-robot/issues/28/comments","events_url":"https://api.github.com/repos/wzpan/dingdang-robot/issues/28/events","html_url":"https://github.com/wzpan/dingdang-robot/issues/28","id":253164989,"number":28,"title":"日程提醒功能","user":{"login":"wzpan","id":1631405,"avatar_url":"https://avatars0.githubusercontent.com/u/1631405?v=4","gravatar_id":"","url":"https://api.github.com/users/wzpan","html_url":"https://github.com/wzpan","followers_url":"https://api.github.com/users/wzpan/followers","following_url":"https://api.github.com/users/wzpan/following{/other_user}","gists_url":"https://api.github.com/users/wzpan/gists{/gist_id}","starred_url":"https://api.github.com/users/wzpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzpan/subscriptions","organizations_url":"https://api.github.com/users/wzpan/orgs","repos_url":"https://api.github.com/users/wzpan/repos","events_url":"https://api.github.com/users/wzpan/events{/privacy}","received_events_url":"https://api.github.com/users/wzpan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-27T13:51:00Z","updated_at":"2017-08-27T13:51:00Z","closed_at":null,"body":"增加日程提醒功能（暂时只支持 Emotibot）。\r\n\r\n先利用 Emotibot 的返回提取出日程。\r\n\r\n``` json\r\n{\r\n    \"remind_info\": [\r\n        {\r\n            \"remind_period\": \"0\",\r\n            \"remind_event\": \"吃饭\",\r\n            \"remind_time_info\": \"2017年9月4日  周一 09:00\",\r\n            \"remind_time\": \"20170904090000\"\r\n        }\r\n    ],\r\n    \"time_zone\": \"8\",\r\n    \"inference_type\": \"INFERENCE_BUILT\",\r\n    \"text_answer\": \"叮当会在2017年9月4日  周一 09:00提醒你吃饭\",\r\n    \"gap_time\": \"\",\r\n    \"period\": 0,\r\n    \"time\": \"20170904090000\",\r\n    \"answer\": \"创建提醒成功！\",\r\n    \"isRemindCancel\": false,\r\n    \"event\": \"吃饭\"\r\n}\r\n```\r\n\r\n之后利用 [TaskWarrior](https://taskwarrior.org/) 来创建和查询任务。"}}
{"actor":{"display_login":"wzpan"}}