1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 02:31:09 +01:00

(feat): update moinbot, thus adding moinitoring

This commit updates the moinbot config to also add a `!zahl` request,
thus enabling monitoring: If no reply is sent by the bot, they are down.

`niveum.passport.services.description` is also corrected and `moin: gib`
removed.
This commit is contained in:
Lennart Mühlenmeier
2024-04-20 16:02:53 +02:00
parent 964ae49c2f
commit b74aa9a835

View File

@@ -7,9 +7,8 @@
startAt = "7:00";
script = ''
greeting=$(echo "moin
MOIN
moin: gib" | shuf -n1)
echo "$greeting" | ${config.nur.repos.mic92.ircsink}/bin/ircsink \
MOIN" | shuf -n1)
echo -e "$greeting\n!zahl" | ${config.nur.repos.mic92.ircsink}/bin/ircsink \
--nick "$greeting""bot" \
--server irc.hackint.org \
--port 6697 \
@@ -22,7 +21,7 @@
niveum.passport.services = [
{
title = "moinbot";
description = "greets #hsmr-moin:hackint.org daily.";
description = "greets #hsmr:hackint.org daily.";
}
];