A baseline for a generic Telegram Bot. This is intended to be a "template" repository, or more precisely an example of basic Telegram Bot implementation which is locally runnable.
We suggest the use of a service manager (like NSSM) to ensure that the script can run locally without issues, and ensure that the serivce can be controlled in the best way possible, ensuring the possibility of a Restart in case of crashing.
We suggest the use of the classic systemd. To be as up to date as possible we suggest you to check your distribution wiki.
We do not officially support mac, so you are on your own.
[This section is still under construction]
- Setupping the folder structure
- Create a requirements.txt
- Creating the baseline for the bot
- Implementing a set of basic actions for the bot to execute
- Make unit tests
This is a toy example library, the implementation might be crude and not as efficient as possible. Even if the nowdays guidelines siggest tp ise as little comments as possible, we shall use them in an exagerated way so that even people with little to no-knowledge of python and telegram libraries can understand what's going on.