just keep 100 messages per channel for now
This commit is contained in:
parent
b9bf09e6b6
commit
1bcf687ea2
|
@ -32,7 +32,7 @@ def track_history(input, message_time, bot):
|
|||
try:
|
||||
history = bot.history[input.chan]
|
||||
except KeyError:
|
||||
bot.history[input.chan] = deque(maxlen=1000)
|
||||
bot.history[input.chan] = deque(maxlen=100)
|
||||
history = bot.history[input.chan]
|
||||
|
||||
data = (input.nick, message_time, input.msg)
|
||||
|
|
Reference in New Issue