mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-20 01:33:15 +00:00
Fix telegram bot
This commit is contained in:
@ -52,6 +52,7 @@ class Command(BaseCommand):
|
|||||||
self.notifications.send_telegram_message(
|
self.notifications.send_telegram_message(
|
||||||
result["message"]["from"]["id"],
|
result["message"]["from"]["id"],
|
||||||
'You must enable the notifications bot using the RoboSats client. Click on your "Robot robot" -> "Enable Telegram" and follow the link or scan the QR code.',
|
'You must enable the notifications bot using the RoboSats client. Click on your "Robot robot" -> "Enable Telegram" and follow the link or scan the QR code.',
|
||||||
|
"",
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
token = parts[-1]
|
token = parts[-1]
|
||||||
@ -60,6 +61,7 @@ class Command(BaseCommand):
|
|||||||
self.notifications.send_telegram_message(
|
self.notifications.send_telegram_message(
|
||||||
result["message"]["from"]["id"],
|
result["message"]["from"]["id"],
|
||||||
f'Wops, invalid token! There is no Robot with telegram chat token "{token}"',
|
f'Wops, invalid token! There is no Robot with telegram chat token "{token}"',
|
||||||
|
"",
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user