{"action":"created","comment":{"url":"https://api.github.com/repos/botpress/botpress/pulls/comments/228846625","pull_request_review_id":169204804,"id":228846625,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODg0NjYyNQ==","diff_hunk":"@@ -27,7 +27,7 @@ export const processEvent = async (event, { bp, storage, logger, config }) => {\n \n   if (answer.action.includes('text')) {\n     logger.debug('QnA: replying to recognized question with plain text answer', answer.id)\n-    event.reply(config.textRenderer, { text: answer.answer })\n+    event.reply(config.textRenderer, { text: answer.answer, typing: '1s' })","path":"packages/functionals/botpress-qna/src/middleware.js","position":5,"original_position":5,"commit_id":"ed03dabc23cacf56fd8026ecd9a006ebae016c9f","original_commit_id":"ed03dabc23cacf56fd8026ecd9a006ebae016c9f","user":{"login":"xavierbriole","id":27001825,"node_id":"MDQ6VXNlcjI3MDAxODI1","avatar_url":"https://avatars2.githubusercontent.com/u/27001825?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierbriole","html_url":"https://github.com/xavierbriole","followers_url":"https://api.github.com/users/xavierbriole/followers","following_url":"https://api.github.com/users/xavierbriole/following{/other_user}","gists_url":"https://api.github.com/users/xavierbriole/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierbriole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierbriole/subscriptions","organizations_url":"https://api.github.com/users/xavierbriole/orgs","repos_url":"https://api.github.com/users/xavierbriole/repos","events_url":"https://api.github.com/users/xavierbriole/events{/privacy}","received_events_url":"https://api.github.com/users/xavierbriole/received_events","type":"User","site_admin":false},"body":"@epaminond how do you want this to be an option ? it could be something like each q&r has a typing time defined and it can be edited in the create question form ?","created_at":"2018-10-29T09:19:33Z","updated_at":"2018-10-29T09:19:34Z","html_url":"https://github.com/botpress/botpress/pull/1041#discussion_r228846625","pull_request_url":"https://api.github.com/repos/botpress/botpress/pulls/1041","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/botpress/botpress/pulls/comments/228846625"},"html":{"href":"https://github.com/botpress/botpress/pull/1041#discussion_r228846625"},"pull_request":{"href":"https://api.github.com/repos/botpress/botpress/pulls/1041"}},"in_reply_to_id":228738944},"pull_request":{"url":"https://api.github.com/repos/botpress/botpress/pulls/1041","id":225312239,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MzEyMjM5","html_url":"https://github.com/botpress/botpress/pull/1041","diff_url":"https://github.com/botpress/botpress/pull/1041.diff","patch_url":"https://github.com/botpress/botpress/pull/1041.patch","issue_url":"https://api.github.com/repos/botpress/botpress/issues/1041","number":1041,"state":"open","locked":false,"title":"fix(qna): add typing time when bot answer to a question","user":{"login":"xavierbriole","id":27001825,"node_id":"MDQ6VXNlcjI3MDAxODI1","avatar_url":"https://avatars2.githubusercontent.com/u/27001825?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierbriole","html_url":"https://github.com/xavierbriole","followers_url":"https://api.github.com/users/xavierbriole/followers","following_url":"https://api.github.com/users/xavierbriole/following{/other_user}","gists_url":"https://api.github.com/users/xavierbriole/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierbriole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierbriole/subscriptions","organizations_url":"https://api.github.com/users/xavierbriole/orgs","repos_url":"https://api.github.com/users/xavierbriole/repos","events_url":"https://api.github.com/users/xavierbriole/events{/privacy}","received_events_url":"https://api.github.com/users/xavierbriole/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-24T08:37:58Z","updated_at":"2018-10-29T09:19:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abfd58cfac17cefe2806bb2833adfa03c61933e3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/botpress/botpress/pulls/1041/commits","review_comments_url":"https://api.github.com/repos/botpress/botpress/pulls/1041/comments","review_comment_url":"https://api.github.com/repos/botpress/botpress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/botpress/botpress/issues/1041/comments","statuses_url":"https://api.github.com/repos/botpress/botpress/statuses/ed03dabc23cacf56fd8026ecd9a006ebae016c9f","head":{"label":"xavierbriole:fix/typing-qna","ref":"fix/typing-qna","sha":"ed03dabc23cacf56fd8026ecd9a006ebae016c9f","user":{"login":"xavierbriole","id":27001825,"node_id":"MDQ6VXNlcjI3MDAxODI1","avatar_url":"https://avatars2.githubusercontent.com/u/27001825?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierbriole","html_url":"https://github.com/xavierbriole","followers_url":"https://api.github.com/users/xavierbriole/followers","following_url":"https://api.github.com/users/xavierbriole/following{/other_user}","gists_url":"https://api.github.com/users/xavierbriole/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierbriole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierbriole/subscriptions","organizations_url":"https://api.github.com/users/xavierbriole/orgs","repos_url":"https://api.github.com/users/xavierbriole/repos","events_url":"https://api.github.com/users/xavierbriole/events{/privacy}","received_events_url":"https://api.github.com/users/xavierbriole/received_events","type":"User","site_admin":false},"repo":{"id":143265835,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMyNjU4MzU=","name":"botpress","full_name":"xavierbriole/botpress","private":false,"owner":{"login":"xavierbriole","id":27001825,"node_id":"MDQ6VXNlcjI3MDAxODI1","avatar_url":"https://avatars2.githubusercontent.com/u/27001825?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierbriole","html_url":"https://github.com/xavierbriole","followers_url":"https://api.github.com/users/xavierbriole/followers","following_url":"https://api.github.com/users/xavierbriole/following{/other_user}","gists_url":"https://api.github.com/users/xavierbriole/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierbriole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierbriole/subscriptions","organizations_url":"https://api.github.com/users/xavierbriole/orgs","repos_url":"https://api.github.com/users/xavierbriole/repos","events_url":"https://api.github.com/users/xavierbriole/events{/privacy}","received_events_url":"https://api.github.com/users/xavierbriole/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xavierbriole/botpress","description":"The  🤖 platform that  ⚡ thousands of bots worldwide","fork":true,"url":"https://api.github.com/repos/xavierbriole/botpress","forks_url":"https://api.github.com/repos/xavierbriole/botpress/forks","keys_url":"https://api.github.com/repos/xavierbriole/botpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xavierbriole/botpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xavierbriole/botpress/teams","hooks_url":"https://api.github.com/repos/xavierbriole/botpress/hooks","issue_events_url":"https://api.github.com/repos/xavierbriole/botpress/issues/events{/number}","events_url":"https://api.github.com/repos/xavierbriole/botpress/events","assignees_url":"https://api.github.com/repos/xavierbriole/botpress/assignees{/user}","branches_url":"https://api.github.com/repos/xavierbriole/botpress/branches{/branch}","tags_url":"https://api.github.com/repos/xavierbriole/botpress/tags","blobs_url":"https://api.github.com/repos/xavierbriole/botpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xavierbriole/botpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xavierbriole/botpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/xavierbriole/botpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xavierbriole/botpress/statuses/{sha}","languages_url":"https://api.github.com/repos/xavierbriole/botpress/languages","stargazers_url":"https://api.github.com/repos/xavierbriole/botpress/stargazers","contributors_url":"https://api.github.com/repos/xavierbriole/botpress/contributors","subscribers_url":"https://api.github.com/repos/xavierbriole/botpress/subscribers","subscription_url":"https://api.github.com/repos/xavierbriole/botpress/subscription","commits_url":"https://api.github.com/repos/xavierbriole/botpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/xavierbriole/botpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/xavierbriole/botpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/xavierbriole/botpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/xavierbriole/botpress/contents/{+path}","compare_url":"https://api.github.com/repos/xavierbriole/botpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xavierbriole/botpress/merges","archive_url":"https://api.github.com/repos/xavierbriole/botpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xavierbriole/botpress/downloads","issues_url":"https://api.github.com/repos/xavierbriole/botpress/issues{/number}","pulls_url":"https://api.github.com/repos/xavierbriole/botpress/pulls{/number}","milestones_url":"https://api.github.com/repos/xavierbriole/botpress/milestones{/number}","notifications_url":"https://api.github.com/repos/xavierbriole/botpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xavierbriole/botpress/labels{/name}","releases_url":"https://api.github.com/repos/xavierbriole/botpress/releases{/id}","deployments_url":"https://api.github.com/repos/xavierbriole/botpress/deployments","created_at":"2018-08-02T08:31:06Z","updated_at":"2018-10-22T08:36:07Z","pushed_at":"2018-10-24T08:37:31Z","git_url":"git://github.com/xavierbriole/botpress.git","ssh_url":"git@github.com:xavierbriole/botpress.git","clone_url":"https://github.com/xavierbriole/botpress.git","svn_url":"https://github.com/xavierbriole/botpress","homepage":"https://botpress.io","size":34649,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"botpress:master","ref":"master","sha":"3a04c315c2780d1b62a14d552f37f26c901371bb","user":{"login":"botpress","id":23510677,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTEwNjc3","avatar_url":"https://avatars3.githubusercontent.com/u/23510677?v=4","gravatar_id":"","url":"https://api.github.com/users/botpress","html_url":"https://github.com/botpress","followers_url":"https://api.github.com/users/botpress/followers","following_url":"https://api.github.com/users/botpress/following{/other_user}","gists_url":"https://api.github.com/users/botpress/gists{/gist_id}","starred_url":"https://api.github.com/users/botpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botpress/subscriptions","organizations_url":"https://api.github.com/users/botpress/orgs","repos_url":"https://api.github.com/users/botpress/repos","events_url":"https://api.github.com/users/botpress/events{/privacy}","received_events_url":"https://api.github.com/users/botpress/received_events","type":"Organization","site_admin":false},"repo":{"id":73964895,"node_id":"MDEwOlJlcG9zaXRvcnk3Mzk2NDg5NQ==","name":"botpress","full_name":"botpress/botpress","private":false,"owner":{"login":"botpress","id":23510677,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTEwNjc3","avatar_url":"https://avatars3.githubusercontent.com/u/23510677?v=4","gravatar_id":"","url":"https://api.github.com/users/botpress","html_url":"https://github.com/botpress","followers_url":"https://api.github.com/users/botpress/followers","following_url":"https://api.github.com/users/botpress/following{/other_user}","gists_url":"https://api.github.com/users/botpress/gists{/gist_id}","starred_url":"https://api.github.com/users/botpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botpress/subscriptions","organizations_url":"https://api.github.com/users/botpress/orgs","repos_url":"https://api.github.com/users/botpress/repos","events_url":"https://api.github.com/users/botpress/events{/privacy}","received_events_url":"https://api.github.com/users/botpress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/botpress/botpress","description":"The  🤖 platform that  ⚡ thousands of bots worldwide","fork":false,"url":"https://api.github.com/repos/botpress/botpress","forks_url":"https://api.github.com/repos/botpress/botpress/forks","keys_url":"https://api.github.com/repos/botpress/botpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/botpress/botpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/botpress/botpress/teams","hooks_url":"https://api.github.com/repos/botpress/botpress/hooks","issue_events_url":"https://api.github.com/repos/botpress/botpress/issues/events{/number}","events_url":"https://api.github.com/repos/botpress/botpress/events","assignees_url":"https://api.github.com/repos/botpress/botpress/assignees{/user}","branches_url":"https://api.github.com/repos/botpress/botpress/branches{/branch}","tags_url":"https://api.github.com/repos/botpress/botpress/tags","blobs_url":"https://api.github.com/repos/botpress/botpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/botpress/botpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/botpress/botpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/botpress/botpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/botpress/botpress/statuses/{sha}","languages_url":"https://api.github.com/repos/botpress/botpress/languages","stargazers_url":"https://api.github.com/repos/botpress/botpress/stargazers","contributors_url":"https://api.github.com/repos/botpress/botpress/contributors","subscribers_url":"https://api.github.com/repos/botpress/botpress/subscribers","subscription_url":"https://api.github.com/repos/botpress/botpress/subscription","commits_url":"https://api.github.com/repos/botpress/botpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/botpress/botpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/botpress/botpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/botpress/botpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/botpress/botpress/contents/{+path}","compare_url":"https://api.github.com/repos/botpress/botpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/botpress/botpress/merges","archive_url":"https://api.github.com/repos/botpress/botpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/botpress/botpress/downloads","issues_url":"https://api.github.com/repos/botpress/botpress/issues{/number}","pulls_url":"https://api.github.com/repos/botpress/botpress/pulls{/number}","milestones_url":"https://api.github.com/repos/botpress/botpress/milestones{/number}","notifications_url":"https://api.github.com/repos/botpress/botpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/botpress/botpress/labels{/name}","releases_url":"https://api.github.com/repos/botpress/botpress/releases{/id}","deployments_url":"https://api.github.com/repos/botpress/botpress/deployments","created_at":"2016-11-16T21:57:59Z","updated_at":"2018-10-29T06:51:38Z","pushed_at":"2018-10-24T08:37:59Z","git_url":"git://github.com/botpress/botpress.git","ssh_url":"git@github.com:botpress/botpress.git","clone_url":"https://github.com/botpress/botpress.git","svn_url":"https://github.com/botpress/botpress","homepage":"https://botpress.io","size":34600,"stargazers_count":6323,"watchers_count":6323,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":605,"mirror_url":null,"archived":false,"open_issues_count":80,"license":null,"forks":605,"open_issues":80,"watchers":6323,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/botpress/botpress/pulls/1041"},"html":{"href":"https://github.com/botpress/botpress/pull/1041"},"issue":{"href":"https://api.github.com/repos/botpress/botpress/issues/1041"},"comments":{"href":"https://api.github.com/repos/botpress/botpress/issues/1041/comments"},"review_comments":{"href":"https://api.github.com/repos/botpress/botpress/pulls/1041/comments"},"review_comment":{"href":"https://api.github.com/repos/botpress/botpress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/botpress/botpress/pulls/1041/commits"},"statuses":{"href":"https://api.github.com/repos/botpress/botpress/statuses/ed03dabc23cacf56fd8026ecd9a006ebae016c9f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"xavierbriole"}}