golem-telegram-bot/TODO

28 lines
971 B
Plaintext
Raw Normal View History

2017-09-24 20:47:34 +00:00
TODO LIST
=============
2017-11-21 22:54:42 +00:00
== Short term things ==
2017-09-24 20:47:34 +00:00
* Document code
Very important, since now it is far more complex
* Clean code. Some ideas:
** Substitute bot calls with API functions (i.e. sendMessage, forwardMessage...).
Functions are already written (not yet tested!) in shared.php
** Create a class for inline keyboard management
** Use info(), warning() and error() instead of botlog()
** Always insert "or error(... $sql->error())" when making SQL queries.
2017-11-21 22:54:42 +00:00
** Use curl instead of file_get_contents() because it has a better way to
manage timeout and HTTP errors
* Better way to manage Image/Videos/Document and forwarded message
* At the moment, the /list command is terrible
2017-11-21 22:54:42 +00:00
* (Don't know why) inline buttons have white text, but if are present
empty buttons, the following have black text
2016-10-29 08:00:07 +00:00
2017-11-21 22:54:42 +00:00
== Long term things ==
2016-10-29 08:00:07 +00:00
* Facebook page integration
2016-10-29 10:27:18 +00:00
Make the bot publish info not only in mailing list and Telegram channel,
2016-10-29 08:00:07 +00:00
but also on our Facebook page