From fb58d939c24eeea06a277262861beabf3bbd7ef7 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 28 Oct 2022 16:49:57 +0200 Subject: shackie: extend .open pattern --- krebs/2configs/shack/reaktor.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs') diff --git a/krebs/2configs/shack/reaktor.nix b/krebs/2configs/shack/reaktor.nix index 76e66f692..1f723c8e6 100644 --- a/krebs/2configs/shack/reaktor.nix +++ b/krebs/2configs/shack/reaktor.nix @@ -19,7 +19,7 @@ config = { hooks.PRIVMSG = [ { - pattern = ".open$"; + pattern = ''\.open\??$|\.offen\??$''; activate = "match"; command.filename = pkgs.writers.writeDash "is_shack_open" '' ${pkgs.curl}/bin/curl -fSsk https://api.shackspace.de/v1/space | -- cgit v1.2.3