i gotta try this okay

This commit is contained in:
= 2025-04-04 05:05:39 +00:00
parent 7d45d39e35
commit ea79b23b28

2
bot.py
View File

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