aboutsummaryrefslogtreecommitdiffstats
path: root/telegram-chat
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-02-07 21:18:50 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-02-07 21:19:57 +0100
commit58a6fac3d9b36c9b7350e8315115ee81d4ce6982 (patch)
tree76f26606a84377696477a43add08110ef331b54c /telegram-chat
parentaee42d31e1c5a8b1e08f09ee2bc55fbff8d5a3f0 (diff)
telegram-chat: use complete property name
Diffstat (limited to 'telegram-chat')
-rw-r--r--telegram-chat2
1 files changed, 1 insertions, 1 deletions
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) \