mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 18:14:27 +02:00
mod/notification-telegram: format date & time italic
This commit is contained in:
parent
f8856ae742
commit
0fd1e506ba
1 changed files with 2 additions and 2 deletions
|
@ -160,8 +160,8 @@
|
||||||
:set TelegramQueue ({});
|
:set TelegramQueue ({});
|
||||||
}
|
}
|
||||||
:set Text ($Text . "\n" . [ $SymbolForNotification "alarm-clock" ] . \
|
:set Text ($Text . "\n" . [ $SymbolForNotification "alarm-clock" ] . \
|
||||||
[ $EscapeMD ("This message was queued since " . [ /system/clock/get date ] . \
|
[ $EscapeMD ("This message was queued since _" . [ /system/clock/get date ] . \
|
||||||
" " . [ /system/clock/get time ] . " and may be obsolete.") "plain" ]);
|
" " . [ /system/clock/get time ] . "_ and may be obsolete.") "plain" "_" ]);
|
||||||
:set ($TelegramQueue->[ :len $TelegramQueue ]) { chatid=$ChatId; tokenid=$TokenId;
|
:set ($TelegramQueue->[ :len $TelegramQueue ]) { chatid=$ChatId; tokenid=$TokenId;
|
||||||
text=$Text; silent=($Notification->"silent"); replyto=($Notification->"replyto") };
|
text=$Text; silent=($Notification->"silent"); replyto=($Notification->"replyto") };
|
||||||
:if ([ :len [ /system/scheduler/find where name="_FlushTelegramQueue" ] ] = 0) do={
|
:if ([ :len [ /system/scheduler/find where name="_FlushTelegramQueue" ] ] = 0) do={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue