Hammett is a framework whose main goal is to simplify building commercial Telegram bots with clear code and a good architecture. By commercial bots are meant such bots that require the support of
- several roles of users (admin, beta testers, moderators, etc.) to manage the visibility of some parts of the user interface;
- the permissions mechanism to implement a maintenance mode, paywall, etc.
- storing the users state in and restoring it from Redis.
See AUTHORS.
The code of Hammett is licensed under the Apache License 2.0 except:
- the modules borrowed from Django and licensed under the 3-Clause BSD License:
hammett/conf/__init__.py
hammett/test/base.py
hammett/test/utils.py
hammett/utils/module_loading.py
- the
hammett/core/conversation_handler.py
module borrowed from PTB and licensed under the GNU Lesser General Public License version 3.