summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-10-28 16:49:57 +0200
committerlassulus <lassulus@lassul.us>2022-10-28 16:49:57 +0200
commitfb58d939c24eeea06a277262861beabf3bbd7ef7 (patch)
tree1764ae9794c6ce385b23f30a24efe5a94ceb65a2
parentb6f6aee6babee6876a51973d619b867d3145ed25 (diff)
shackie: extend .open pattern
-rw-r--r--krebs/2configs/shack/reaktor.nix2
1 files changed, 1 insertions, 1 deletions
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 |