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__":