modify channel for testing mode

This commit is contained in:
= 2025-04-04 03:36:57 +00:00
parent 84f53b56ae
commit ddea85dbee

4
bot.py
View File

@ -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