try this, try that, see what sticks
This commit is contained in:
parent
37b517edf5
commit
7bfb9b2f40
6
bot.py
6
bot.py
@ -166,9 +166,9 @@ class IRCBot():
|
|||||||
if self.counter(channel) < messages_within_timeout:
|
if self.counter(channel) < messages_within_timeout:
|
||||||
if now - channel_time > timeout:
|
if now - channel_time > timeout:
|
||||||
self.send("#bots", f"i hear activity in {channel}...")
|
self.send("#bots", f"i hear activity in {channel}...")
|
||||||
# self.send("#tildetown", f"i hear activity in {channel}...")
|
# self.send("#tildetown", f"i hear activity in {channel}...")
|
||||||
self.config["counts"][channel] = 0
|
self.config["counts"][channel] = 0
|
||||||
self.write_config()
|
self.write_config()
|
||||||
self.set_time(channel, now)
|
self.set_time(channel, now)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user