mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 12:41:05 +08:00
raa
This commit is contained in:
parent
a31efda338
commit
93f384c0a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user