From 58a6fac3d9b36c9b7350e8315115ee81d4ce6982 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 7 Feb 2023 21:18:50 +0100 Subject: telegram-chat: use complete property name --- telegram-chat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram-chat b/telegram-chat index c6a4c3b..c861c5d 100644 --- a/telegram-chat +++ b/telegram-chat @@ -111,7 +111,7 @@ $WaitFullyConnected; :if ([ :len [ /file/find where name=($File . ".failed.txt") ] ] > 0) do={ :set State "The command failed with an error!\n\n"; } - :local Content [ /file/get ($File . ".txt") content ]; + :local Content [ /file/get ($File . ".txt") contents ]; $SendTelegram2 ({ origin=$0; chatid=$ChatID; silent=false; \ subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \ message=("Command:\n" . $Text . "\n\n" . $State . [ $IfThenElse ([ :len $Content ] > 0) \ -- cgit v1.2.3-54-g00ecf