From 48f9e5b1b894048104ed6e0c3997d5dabcd89212 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Sat, 15 Mar 2025 15:15:30 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sweebot.py b/sweebot.py index 304c068..1423c12 100644 --- a/sweebot.py +++ b/sweebot.py @@ -369,12 +369,13 @@ while True: print(nick) print(username) print(perms) - cont = " ".join(command) - if not channel in logs: - logs[channel] = [{"nick": nick, "content": cont}] - else: - logs[channel].append({"nick": nick, "content": cont}) - if len(logs[channel]) > 128: logs[channel] = logs[channel][::-1][:128][::-1] + if not nick in ["MeowNexUS", "MeowNexU5", "MeowN3xUS"]: + cont = " ".join(command) + if not channel in logs: + logs[channel] = [{"nick": nick, "content": cont}] + else: + logs[channel].append({"nick": nick, "content": cont}) + if len(logs[channel]) > 128: logs[channel] = logs[channel][::-1][:128][::-1] #open("log-text-"+channel, "a").write(" ".join(command) + "\n") #open("log-name-"+channel, "a").write(nick + "\n") except: