Slack Driver 2.1
Hello,I'm using botman studio and I've been struggling to make this work:
The user types a slash command, and a button to start is prompted (this works)
Then the conversation starts, the bot should ask the first question, gets the answer (works with only 1 question)
BUT, when I try to add a second question, there's where the trouble starts. The bot asks for both questions at once, and the answer is registered in the first answer.
class ProjectConversation extends Conversation
public function askProjectName()
$this->ask('Question1...', function(Answer $answer)
$code = $answer->getText();
Log::info($code); //NOTE: This shows 'start' which is the button value, BEFORE any answer is given
public function askUsers()
$this->ask('Question2..' , function(Answer $answer)
Log::info(print_r($answer, true)); //NOTE: shows answer from Question1
public function run()
PS: If I try to make a conversation starting after "listening" to a word , it works without any problem.
will post more code if needed.