From a5c88aad4a38e801ce26a94393b2828aa314e8af Mon Sep 17 00:00:00 2001 From: "Allen95Wei(901)" Date: Fri, 24 Dec 2021 13:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=99=95=E7=90=86=E7=B8=AE=E6=8E=92=E5=95=8F?= =?UTF-8?q?=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index fd25afc..d78936e 100644 --- a/main.py +++ b/main.py @@ -215,12 +215,10 @@ async def on_message(message): # 有訊息時 for i in range(len(final_msg)): if not msg_is_file: await msg_send_channel.send(final_msg[i]) - new_log = str(msg_send_channel) + "/" + str(client.user) + ":\n" + final_msg[i] + \ - "\n\n" + new_log = str(msg_send_channel) + "/" + str(client.user) + ":\n" + final_msg[i] + "\n\n" else: await msg_send_channel.send(file=final_msg) - new_log = str(msg_send_channel) + "/" + str(client.user) + ":\n" + str(final_msg) \ - + "\n\n" + new_log = str(msg_send_channel) + "/" + str(client.user) + ":\n" + str(final_msg) + "\n\n" log_writter.write_log(new_log) final_msg = [] msg_count = 1