From eb28603287751bf5950748249f1578b73ddefaa4 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 22 Dec 2024 19:21:28 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 2e63d97..dfcc8b1 100644 --- a/sweebot.py +++ b/sweebot.py @@ -338,7 +338,7 @@ while True: cont = " ".join(command) if not channel in logs: logs[channel] = [{"nick": nick, "content": cont}] - if len(logs[channel]) > 10: logs[channel] = logs[channel][:10] + if len(logs[channel]) > 128: logs[channel] = logs[channel][:128] #open("log-text-"+channel, "a").write(" ".join(command) + "\n") #open("log-name-"+channel, "a").write(nick + "\n") except: