CodeMOOC / TreasureHuntBot

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

Re-architecture bot logic as an API #8

Open LorenzCK opened 7 years ago

LorenzCK commented 7 years ago

All major logic blocks (currently hardcoded inside the message processing logic of the bot) should be moved to a separated logic layer, exposed as an API to the rest of the code. The main objective should be to allow both users and admins to manage each user's state easily.