airq-dev / hazebot

Building the 411 for air quality in the United States: a texting platform accessible to all, that provides actionable local information to protect your and your community.
https://www.hazebot.org/
MIT License
9 stars 1 forks source link

Be more permissive in what commands we accept #116

Closed ianhoffman closed 4 years ago

ianhoffman commented 4 years ago

From Slack:

"Might want to account for punctuation in the menu options, if we’re sticking w/ number options? It’s not totally clear if “.” is required after the number from the instructions, but if you input “1.” you’re told option is unrecognizable"

We should accept both "1." and "1" as a valid command.

emjgreen commented 4 years ago

Should we also allow "1)" as a valid command, along with the ones mention above?

ianhoffman commented 4 years ago

Sure! I doubt many people will do that when prompted with 1., but it can't hurt.