{"action":"created","issue":{"url":"https://api.github.com/repos/silentrob/superscript/issues/173","labels_url":"https://api.github.com/repos/silentrob/superscript/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/silentrob/superscript/issues/173/comments","events_url":"https://api.github.com/repos/silentrob/superscript/issues/173/events","html_url":"https://github.com/silentrob/superscript/issues/173","id":116179356,"number":173,"title":"Topic state confusion","user":{"login":"Lewwwk","id":42130,"avatar_url":"https://avatars.githubusercontent.com/u/42130?v=3","gravatar_id":"","url":"https://api.github.com/users/Lewwwk","html_url":"https://github.com/Lewwwk","followers_url":"https://api.github.com/users/Lewwwk/followers","following_url":"https://api.github.com/users/Lewwwk/following{/other_user}","gists_url":"https://api.github.com/users/Lewwwk/gists{/gist_id}","starred_url":"https://api.github.com/users/Lewwwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lewwwk/subscriptions","organizations_url":"https://api.github.com/users/Lewwwk/orgs","repos_url":"https://api.github.com/users/Lewwwk/repos","events_url":"https://api.github.com/users/Lewwwk/events{/privacy}","received_events_url":"https://api.github.com/users/Lewwwk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/silentrob/superscript/labels/bug","name":"bug","color":"000000"},{"url":"https://api.github.com/repos/silentrob/superscript/labels/P1","name":"P1","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"silentrob","id":15984,"avatar_url":"https://avatars.githubusercontent.com/u/15984?v=3","gravatar_id":"","url":"https://api.github.com/users/silentrob","html_url":"https://github.com/silentrob","followers_url":"https://api.github.com/users/silentrob/followers","following_url":"https://api.github.com/users/silentrob/following{/other_user}","gists_url":"https://api.github.com/users/silentrob/gists{/gist_id}","starred_url":"https://api.github.com/users/silentrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentrob/subscriptions","organizations_url":"https://api.github.com/users/silentrob/orgs","repos_url":"https://api.github.com/users/silentrob/repos","events_url":"https://api.github.com/users/silentrob/events{/privacy}","received_events_url":"https://api.github.com/users/silentrob/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-10T19:09:11Z","updated_at":"2015-11-11T17:49:44Z","closed_at":null,"body":"With the following code\r\n```\r\n+ name\r\n- {keep} ^respond(set_name)\r\n\r\n> topic:keep set_name\r\n  + *\r\n  - What is your first name?\r\n\r\n  + *~5\r\n  % * is your first name?\r\n  - ^save(firstName, <cap>) Ok <cap>, what is your last name?\r\n\r\n  + *~5\r\n  % * what is your last name?\r\n  - ^save(lastName, <cap>) Thanks, ^get(firstName) ^get(lastName)! {topic=random}\r\n< topic\r\n```\r\nI'd expect to enter and stay in 'set_name' throughout the sequence. \r\n\r\nHowever when responding to 'what is your name?' the bot does not a find a response and results in a null message and undefined topic (currentTopic and pendingTopic are both Null for the user)."},"comment":{"url":"https://api.github.com/repos/silentrob/superscript/issues/comments/155859752","html_url":"https://github.com/silentrob/superscript/issues/173#issuecomment-155859752","issue_url":"https://api.github.com/repos/silentrob/superscript/issues/173","id":155859752,"user":{"login":"Lewwwk","id":42130,"avatar_url":"https://avatars.githubusercontent.com/u/42130?v=3","gravatar_id":"","url":"https://api.github.com/users/Lewwwk","html_url":"https://github.com/Lewwwk","followers_url":"https://api.github.com/users/Lewwwk/followers","following_url":"https://api.github.com/users/Lewwwk/following{/other_user}","gists_url":"https://api.github.com/users/Lewwwk/gists{/gist_id}","starred_url":"https://api.github.com/users/Lewwwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lewwwk/subscriptions","organizations_url":"https://api.github.com/users/Lewwwk/orgs","repos_url":"https://api.github.com/users/Lewwwk/repos","events_url":"https://api.github.com/users/Lewwwk/events{/privacy}","received_events_url":"https://api.github.com/users/Lewwwk/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T17:49:44Z","updated_at":"2015-11-11T17:49:44Z","body":"Also, in case it's helpful, seems that inputs are getting matched against system topics even if not in the system topic. "}}