From 122a99d8ea8131917f71bcc9a3fe3f74caf97232 Mon Sep 17 00:00:00 2001 From: Rob Siemborski Date: Fri, 6 Dec 2024 14:29:46 -0500 Subject: [PATCH] Alias !cube.rocks and !cube.sucks for their regular commands. --- zdaemon/cube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zdaemon/cube.py b/zdaemon/cube.py index 1f0391e..0284c1b 100644 --- a/zdaemon/cube.py +++ b/zdaemon/cube.py @@ -1025,10 +1025,10 @@ def cubeSlackRouter(message): # most recent cube thread. cubeInfo(text, sendResponse, slack_channel=message['channel']) - if (re.search(r"^!cubesucks($|\s)", text)): + if (re.search(r"^!cube\.?sucks($|\s)", text)): cubeSucksSlack(1, message, sendResponse) - if (re.search(r"^!cuberocks($|\s)", text)): + if (re.search(r"^!cube\.?rocks($|\s)", text)): cubeSucksSlack(-1, message, sendResponse) if (re.search(r"^!(slurpcube|cubeslurp)($|\s)", text)):