Skip to content

Conversation

@Zerryth
Copy link
Contributor

@Zerryth Zerryth commented Aug 15, 2019

Fixes #281


Changes

Originally retry prompts were not sending to the user when an invalid value was sent to a NumberPrompt (e.g. "Please enter a number" "hello" <-- invalid)

  • This was happening simply because NumberPrompt was missing an "await" for sending an activity if it passed the condition of needing to send a retry prompt.

  • Uncommented tests that were previously ported that were breaking for retry promps and validation

Screen shots

Expected Behavior (plugging a NumberPrompt into CoreBot real quickly)
image

@Zerryth Zerryth requested a review from axelsrz August 15, 2019 22:15
@Zerryth Zerryth merged commit 6c15775 into master Aug 19, 2019
@Zerryth Zerryth deleted the Zerryth/NumberPromptRetry branch August 19, 2019 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NumberPrompt doesn't accept retry value

3 participants