From af0a5a7f3f8b77485961b73f3b93691c9369d595 Mon Sep 17 00:00:00 2001 From: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> Date: Sun, 21 Apr 2024 13:53:22 +0100 Subject: [PATCH] Update utilitybot.py Signed-off-by: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> --- utilitybot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utilitybot.py b/utilitybot.py index c478578..cba834a 100644 --- a/utilitybot.py +++ b/utilitybot.py @@ -79,11 +79,13 @@ def remote(event): def roomer(r): def msg(event): + rid = r.roomID + nofish = [146039] if (result := re.match( r"🐟 (.*)'s line quivers\.<\/i>", html.unescape(event.content), re.UNICODE, - )) and event.user_id == 375672: + )) and event.user_id == 375672 and rid not in nofish: if result.group(1) == "Utility Bot": r.send("/fish again") else: