diff --git a/sweebot.py b/sweebot.py index 591c792..2e63d97 100644 --- a/sweebot.py +++ b/sweebot.py @@ -337,7 +337,7 @@ while True: print(perms) cont = " ".join(command) 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] #open("log-text-"+channel, "a").write(" ".join(command) + "\n") #open("log-name-"+channel, "a").write(nick + "\n")