modify channel for testing mode
This commit is contained in:
parent
84f53b56ae
commit
ddea85dbee
4
bot.py
4
bot.py
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user