Do you use python-telegram-bot with Django and want persistence without additional infrastructure? We've got you covered!
If you are using poetry (and if not, please, consider using it ๐):
poetry add python-telegram-bot-django-persistence
Elif you are using pip
, then just enter:
pip install python-telegram-bot-django-persistence
Then add python_telegram_bot_django_persistence
into your INSTALLED_APPS
in your settings file, like so:
INSTALLED_APPS = [
...
"python_telegram_bot_django_persistence",
]
python manage migrate
updater = Updater(bot=bot, use_context=True, persistence=DjangoPersistence())
Thanks goes to these wonderful people (emoji key):
Alexander Shishenko ๐ป ๐ |
This project follows the all-contributors specification. Contributions of any kind welcome!