robosats/api/management/commands
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
..
clean_orders.py Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
follow_invoices.py Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
telegram_watcher.py Fix telegram watcher (#354) 2023-02-13 12:41:06 +00:00