CodeMOOC / TreasureHuntBot

Telegram bot for the “Code Hunting Games” at the Urbino CodeMOOC Summer School.
MIT License
9 stars 4 forks source link

Better response text extraction #29

Open LorenzCK opened 6 years ago

LorenzCK commented 6 years ago

Use regex to strip spaces and other characters from responses.

For instance, response r-g-b should match riddle solution rgb.