From 93f384c0a487c3bcf812931e48ac7ec57e23bb6b Mon Sep 17 00:00:00 2001 From: shenjack-5600u <3695888@qq.com> Date: Sun, 5 May 2024 22:34:09 +0800 Subject: [PATCH] raa --- ica-rs/plugins/namerena.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ica-rs/plugins/namerena.py b/ica-rs/plugins/namerena.py index 3c3afaf..a5a7fb8 100644 --- a/ica-rs/plugins/namerena.py +++ b/ica-rs/plugins/namerena.py @@ -30,6 +30,8 @@ def on_ica_message(msg: IcaNewMessage, client: IcaClient) -> None: return # 去掉 /name names = msg.content.split("/name")[1] + # 去掉第一个 \n + names = names[names.find("\n") + 1 :] start_time = time.time() # 开始 try