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: