├── .buildpacks ├── .env_example ├── .github ├── imgs │ ├── bot_commands_example.jpg │ └── containers_status.png └── workflows │ └── dokku.yml ├── .gitignore ├── DOKKU_SCALE ├── LICENSE ├── LocalDockerfile ├── Procfile ├── README.md ├── docker-compose.yml ├── dtb ├── __init__.py ├── asgi.py ├── celery.py ├── settings.py ├── urls.py ├── views.py └── wsgi.py ├── manage.py ├── requirements.txt ├── run_polling.py ├── runtime.txt ├── tgbot ├── __init__.py ├── dispatcher.py ├── handlers │ ├── __init__.py │ ├── admin │ │ ├── __init__.py │ │ ├── handlers.py │ │ ├── static_text.py │ │ └── utils.py │ ├── broadcast_message │ │ ├── __init__.py │ │ ├── handlers.py │ │ ├── keyboards.py │ │ ├── manage_data.py │ │ ├── static_text.py │ │ └── utils.py │ ├── location │ │ ├── __init__.py │ │ ├── handlers.py │ │ ├── keyboards.py │ │ └── static_text.py │ ├── onboarding │ │ ├── __init__.py │ │ ├── handlers.py │ │ ├── keyboards.py │ │ ├── manage_data.py │ │ └── static_text.py │ └── utils │ │ ├── __init__.py │ │ ├── decorators.py │ │ ├── error.py │ │ ├── files.py │ │ └── info.py ├── main.py └── system_commands.py ├── users ├── __init__.py ├── admin.py ├── apps.py ├── forms.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_alter_user_user_id.py │ ├── 0003_rm_unused_fields.py │ └── __init__.py ├── models.py ├── tasks.py └── templates │ └── admin │ └── broadcast_message.html └── utils ├── __init__.py └── models.py /.buildpacks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/.buildpacks -------------------------------------------------------------------------------- /.env_example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/.env_example -------------------------------------------------------------------------------- /.github/imgs/bot_commands_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/.github/imgs/bot_commands_example.jpg -------------------------------------------------------------------------------- /.github/imgs/containers_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/.github/imgs/containers_status.png -------------------------------------------------------------------------------- /.github/workflows/dokku.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/.github/workflows/dokku.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /DOKKU_SCALE: -------------------------------------------------------------------------------- 1 | web=1 2 | worker=0 3 | beat=0 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /LocalDockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/LocalDockerfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /dtb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/__init__.py -------------------------------------------------------------------------------- /dtb/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/asgi.py -------------------------------------------------------------------------------- /dtb/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/celery.py -------------------------------------------------------------------------------- /dtb/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/settings.py -------------------------------------------------------------------------------- /dtb/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/urls.py -------------------------------------------------------------------------------- /dtb/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/views.py -------------------------------------------------------------------------------- /dtb/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/dtb/wsgi.py -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/manage.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_polling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/run_polling.py -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.8.3 -------------------------------------------------------------------------------- /tgbot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/dispatcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/dispatcher.py -------------------------------------------------------------------------------- /tgbot/handlers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/handlers/admin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/handlers/admin/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/admin/handlers.py -------------------------------------------------------------------------------- /tgbot/handlers/admin/static_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/admin/static_text.py -------------------------------------------------------------------------------- /tgbot/handlers/admin/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/admin/utils.py -------------------------------------------------------------------------------- /tgbot/handlers/broadcast_message/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/handlers/broadcast_message/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/broadcast_message/handlers.py -------------------------------------------------------------------------------- /tgbot/handlers/broadcast_message/keyboards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/broadcast_message/keyboards.py -------------------------------------------------------------------------------- /tgbot/handlers/broadcast_message/manage_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/broadcast_message/manage_data.py -------------------------------------------------------------------------------- /tgbot/handlers/broadcast_message/static_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/broadcast_message/static_text.py -------------------------------------------------------------------------------- /tgbot/handlers/broadcast_message/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/broadcast_message/utils.py -------------------------------------------------------------------------------- /tgbot/handlers/location/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/handlers/location/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/location/handlers.py -------------------------------------------------------------------------------- /tgbot/handlers/location/keyboards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/location/keyboards.py -------------------------------------------------------------------------------- /tgbot/handlers/location/static_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/location/static_text.py -------------------------------------------------------------------------------- /tgbot/handlers/onboarding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/handlers/onboarding/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/onboarding/handlers.py -------------------------------------------------------------------------------- /tgbot/handlers/onboarding/keyboards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/onboarding/keyboards.py -------------------------------------------------------------------------------- /tgbot/handlers/onboarding/manage_data.py: -------------------------------------------------------------------------------- 1 | SECRET_LEVEL_BUTTON = 'SCRT_LVL' 2 | -------------------------------------------------------------------------------- /tgbot/handlers/onboarding/static_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/onboarding/static_text.py -------------------------------------------------------------------------------- /tgbot/handlers/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgbot/handlers/utils/decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/utils/decorators.py -------------------------------------------------------------------------------- /tgbot/handlers/utils/error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/utils/error.py -------------------------------------------------------------------------------- /tgbot/handlers/utils/files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/utils/files.py -------------------------------------------------------------------------------- /tgbot/handlers/utils/info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/handlers/utils/info.py -------------------------------------------------------------------------------- /tgbot/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/main.py -------------------------------------------------------------------------------- /tgbot/system_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/tgbot/system_commands.py -------------------------------------------------------------------------------- /users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/admin.py -------------------------------------------------------------------------------- /users/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/apps.py -------------------------------------------------------------------------------- /users/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/forms.py -------------------------------------------------------------------------------- /users/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/migrations/0001_initial.py -------------------------------------------------------------------------------- /users/migrations/0002_alter_user_user_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/migrations/0002_alter_user_user_id.py -------------------------------------------------------------------------------- /users/migrations/0003_rm_unused_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/migrations/0003_rm_unused_fields.py -------------------------------------------------------------------------------- /users/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/models.py -------------------------------------------------------------------------------- /users/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/tasks.py -------------------------------------------------------------------------------- /users/templates/admin/broadcast_message.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/users/templates/admin/broadcast_message.html -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohld/django-telegram-bot/HEAD/utils/models.py --------------------------------------------------------------------------------