mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
update to 19.03
This commit is contained in:
@@ -8,7 +8,7 @@ let
|
||||
startAt = bot.time;
|
||||
serviceConfig.Type = "oneshot";
|
||||
wants = [ "network-online.target" ];
|
||||
script = lists.concatStringsSep "\n" (map (chatId: ''
|
||||
script = strings.concatStringsSep "\n" (map (chatId: ''
|
||||
${pkgs.curl}/bin/curl -s -X POST "https://api.telegram.org/bot${bot.token}/sendMessage" \
|
||||
-d chat_id="${chatId}" \
|
||||
-d text="$(${bot.command})" ${
|
||||
|
||||
Reference in New Issue
Block a user