Tried to add dm logs once again

Tried to fix dm messages
pull/2/head
sgoudham 5 years ago
parent f5ae26ba51
commit 3e95149352

@ -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

Loading…
Cancel
Save