mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 20:45:06 +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
|
return
|
||||||
# 去掉 /name
|
# 去掉 /name
|
||||||
names = msg.content.split("/name")[1]
|
names = msg.content.split("/name")[1]
|
||||||
|
# 去掉第一个 \n
|
||||||
|
names = names[names.find("\n") + 1 :]
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
# 开始 try
|
# 开始 try
|
||||||
|
|
Loading…
Reference in New Issue
Block a user