Skip to content

Commit

Permalink
Update utilitybot.py
Browse files Browse the repository at this point in the history
Signed-off-by: Little Monkey <[email protected]>
  • Loading branch information
PlaceReporter99 authored Apr 21, 2024
1 parent 7c6a5a2 commit af0a5a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utilitybot.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,13 @@ def remote(event):
def roomer(r):

def msg(event):
rid = r.roomID
nofish = [146039]
if (result := re.match(
r"🐟 <i>(.*)'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:
Expand Down

0 comments on commit af0a5a7

Please sign in to comment.