mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
Update __init__.py
This commit is contained in:
parent
07df508513
commit
15c9efc5b9
@ -39,7 +39,10 @@ async def _(bot: Bot, event: PrivateMessageEvent, state: T_State):
|
||||
async def _(bot: Bot, event: PrivateMessageEvent, state: T_State):
|
||||
if _ulmt.check(event.user_id):
|
||||
await bt.finish('您有bt任务正在进行,请等待结束.', at_sender=True)
|
||||
mp = get_message_text(event.json()).split(" ")
|
||||
mp = get_message_text(event.json())
|
||||
if not mp:
|
||||
return
|
||||
mp = mp.split(' ')
|
||||
if len(mp) == 2:
|
||||
state['keyword'] = mp[0]
|
||||
state['page'] = mp[1]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user