From ddea85dbeedc7f59fa96bba942704b09c98de62c Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 4 Apr 2025 03:36:57 +0000 Subject: [PATCH] modify channel for testing mode --- bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 0b0c057..15151cb 100644 --- a/bot.py +++ b/bot.py @@ -161,7 +161,9 @@ class IRCBot(): channel_time = self.check_time(channel) now = time() if self.counter(channel) > messages_within_24h and now - channel_time > timeout: - self.send("#tildetown", f"i hear activity in {channel}...") + # self.send("#tildetown", f"i hear activity in {channel}...") + self.send("#bots", f"i hear activity in {channel}...") + self.set_time(channel, now) self.config["counts"][channel] = 0