diff options
author | Christian Hesse <mail@eworm.de> | 2023-10-19 09:19:34 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-10-19 09:19:34 +0200 |
commit | b81f3850ae85d6443bfffee75ecd00588447def1 (patch) | |
tree | dfeb770911ea0334651d5a5f5c6c6ad07e2b77be | |
parent | 4c365c131d28b0eb45ee72b12ef10c846b535e79 (diff) |
telegram-chat: log when sending notice
-rw-r--r-- | telegram-chat.rsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telegram-chat.rsc b/telegram-chat.rsc index 197cbf4..e0a6295 100644 --- a/telegram-chat.rsc +++ b/telegram-chat.rsc @@ -87,6 +87,7 @@ $WaitFullyConnected; :if ($Trusted = true) do={ :local Done false; :if ($Message->"text" = "?") do={ + $LogPrintExit2 info $0 ("Sending notice for update " . $UpdateID . ".") false; $SendTelegram2 ({ origin=$0; chatid=($Chat->"id"); silent=true; replyto=($Message->"message_id"); \ subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \ message=("Online, awaiting your commands!") }); |