diff --git a/log.py b/log.py index b378376..0d9309a 100755 --- a/log.py +++ b/log.py @@ -19,11 +19,11 @@ async def log(event): await event.respond(rpl) await client(functions.contacts.BlockRequest(chat)) f = open(str(event.chat_id), "a") - f.write(str(event.id) + ": " + str(event.chat_id) + " => " + str(myid) + "\n") + f.write("← ") else: #Outgoing message f = open(str(event.chat_id), "a") - f.write(str(event.id) + ": " + str(event.sender_id) + " => " + str(event.chat_id) + "\n") + f.write("→ ") f.write(event.raw_text + "\n") f.close()