diff --git a/bot.py b/bot.py index 9a587bb8..c2a66469 100644 --- a/bot.py +++ b/bot.py @@ -562,6 +562,7 @@ while True: elif text.startswith('/diario'): print("@" + username + ": /diario ") cmd = text.split(" ", 1) + cmd[1] = cmd[1].replace("\n", " ") d = filemanager.readfile("diario.txt") d += str(int(time.time())) + "|" + cmd[1] + "\n" filemanager.writefile("diario.txt", d)