1
0
Fork 0
forked from swee/MeowNex
This commit is contained in:
Nova Cat 2024-12-22 19:18:28 -08:00
parent 5f353aa6e9
commit c357314230

View file

@ -337,7 +337,7 @@ while True:
print(perms) print(perms)
cont = " ".join(command) cont = " ".join(command)
if not channel in logs: if not channel in logs:
logs[channel] = [{nick: nick, content: cont}] logs[channel] = [{"nick": nick, "content": cont}]
if len(logs[channel]) > 10: logs[channel] = logs[channel][:10] if len(logs[channel]) > 10: logs[channel] = logs[channel][:10]
#open("log-text-"+channel, "a").write(" ".join(command) + "\n") #open("log-text-"+channel, "a").write(" ".join(command) + "\n")
#open("log-name-"+channel, "a").write(nick + "\n") #open("log-name-"+channel, "a").write(nick + "\n")