Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Commit

Permalink
處理縮排問題
Browse files Browse the repository at this point in the history
  • Loading branch information
Alllen95Wei committed Dec 24, 2021
1 parent 6aac4e9 commit a5c88aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5c88aa

Please sign in to comment.