robosats/api
Reckless_Satoshi 1c696beb5d
Fix telegram watcher (#354)
* Update telegram_watcher.py

It is used "startswith()" to check if the text start with  "/start".
"filter()" instead of "get()" to avoid an exception if there is no profile asociated with a token.
"attempts -= 1" instead of "attempts = attempts - 1"
An "error.log" file is created if "response = self.session.get" does not work

* Update telegram_watcher.py

Added instructions for the user if the format is not correct

* Update telegram_watcher.py

* Update telegram_watcher.py

* Update telegram_watcher.py

* Update telegram_watcher.py

* Update telegram_watcher.py

* Fix bugs

---------

Co-authored-by: Kote <45825337+Gravity2106@users.noreply.github.com>
2023-02-13 12:41:06 +00:00
..
lightning Deprecate old routing budget pipeline (#347) 2023-02-10 13:34:35 +00:00
management/commands Fix telegram watcher (#354) 2023-02-13 12:41:06 +00:00
migrations Create api django app 2022-01-01 14:13:27 -08:00
nick_generator Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
__init__.py Create api django app 2022-01-01 14:13:27 -08:00
admin.py Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
apps.py Re-format all python code 2022-02-17 11:50:10 -08:00
logics.py Deprecate old routing budget pipeline (#347) 2023-02-10 13:34:35 +00:00
messages.py Fix telegram watcher (#354) 2023-02-13 12:41:06 +00:00
models.py Add advanced options to LN payout form (#326) 2022-11-24 17:42:30 +00:00
oas_schemas.py Conform to pep8 rules (#295) 2022-10-20 20:53:51 +00:00
serializers.py Add advanced options to LN payout form (#326) 2022-11-24 17:42:30 +00:00
tasks.py Deprecate old routing budget pipeline (#347) 2023-02-10 13:34:35 +00:00
tests.py Conform to pep8 rules (#295) 2022-10-20 20:53:51 +00:00
urls.py Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
utils.py Conform to pep8 rules (#295) 2022-10-20 20:53:51 +00:00
views.py Deprecate old routing budget pipeline (#347) 2023-02-10 13:34:35 +00:00