aboutsummaryrefslogtreecommitdiffstats
path: root/telegram-chat.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-21 21:10:51 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-21 21:11:38 +0100
commitf72aadfc591ece4c79522256e5b6a4d71fb18467 (patch)
tree7c57ba5f0abbfd2c14fd361415236f25eee37c15 /telegram-chat.rsc
parentcc81e556491c40d9b2a0d164eda16e196ac72aa6 (diff)
telegram-chat: note active state when answering broadcast
Diffstat (limited to 'telegram-chat.rsc')
-rw-r--r--telegram-chat.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram-chat.rsc b/telegram-chat.rsc
index 4245cfd..9ae5967 100644
--- a/telegram-chat.rsc
+++ b/telegram-chat.rsc
@@ -111,7 +111,7 @@
$LogPrint info $ScriptName ("Sending notice for update " . $UpdateID . ".");
$SendTelegram2 ({ origin=$ScriptName; chatid=($Chat->"id"); silent=true; replyto=($Message->"message_id"); \
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
- message=("Online, awaiting your commands!") });
+ message=("Online" . [ $IfThenElse $TelegramChatActive " (and active!)" ] . ", awaiting your commands!") });
:set Done true;
}
:if ($Done = false && [ :pick ($Message->"text") 0 1 ] = "!") do={