From ea79b23b28b460c1fb645f1230c3ccd0fc977a32 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 4 Apr 2025 05:05:39 +0000 Subject: [PATCH] i gotta try this okay --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index dcb07cd..bc2523b 100644 --- a/bot.py +++ b/bot.py @@ -171,6 +171,8 @@ class IRCBot(): if delta > timeout and count < messages_within_timeout: self.reset_count(channel) self.send("#bots", f"i hear activity in {channel}...") + elif count < messages_within_timeout and delta > timeout: + self.reset_count self.set_time(channel, now) if __name__ == "__main__":