1
0
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:
Kierán Meinhardt
2019-04-22 22:40:41 +02:00
parent 9d28068dfe
commit 3139bebd0f
15 changed files with 89 additions and 41 deletions

View File

@@ -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})" ${