From 3e951493524659d24ebc317989d01e8a35b76842 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 24 Jun 2020 01:50:19 +0100 Subject: [PATCH] Tried to add dm logs once again Tried to fix dm messages --- EnsoBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnsoBot.py b/EnsoBot.py index f201fac1..25a7f464 100644 --- a/EnsoBot.py +++ b/EnsoBot.py @@ -324,7 +324,7 @@ async def on_command_missing_user(ctx): def write_to_file(time, author, content): with open('images/logs/dm-logs.txt', mode='w') as dm_logs_file: - dm_logs_file.write(f"{time}: {author}: {content}") + dm_logs_file.write(f"{time}: {author}: {content}\n") # Run the bot, allowing it to come online