eugenio412 / PogomBOT

A Telegram bot for pogom
31 stars 17 forks source link

[Development] - Command improvements for future usage #29

Open Unknown66 opened 8 years ago

Unknown66 commented 8 years ago

Command changes:

This way we could easily add new configuration parameters and wouldn't need a new command every time. /set and /toggle would print all possible options

eugenio412 commented 8 years ago

yes, that could work, but I was thinking to a massive use of the inline keyboard for future iteration, I've used them a lot in my previous bots. That's also because the commands like "/command arg" is not that user friendly and it's not raccomanded in the bot API by telegram

Unknown66 commented 8 years ago

Cool I was thinking about this too. :+1: Then we would have only /toggle and /set. The user will be prompted after what todo with an inline keyboard right?

eugenio412 commented 8 years ago

yes, that would be an idea, but we need to create a callback function for the inline keyboard callback, I's starting a branch so we can use it for this new feature without messing with the master.

Sure as hell I don't really understand how to use milesones

kelt8 commented 8 years ago

how abt a command for current area coverage in a screenshot, that'll be nice