mirror of
https://github.com/ChenXu233/nonebot_plugin_dialectlist.git
synced 2024-11-27 17:45:07 +08:00
💄 人性化提示
This commit is contained in:
parent
10cc5cf278
commit
29b4598e5f
@ -133,8 +133,10 @@ async def handle_b_cmd(
|
|||||||
)
|
)
|
||||||
d = msg_counter(messages, keywords)
|
d = msg_counter(messages, keywords)
|
||||||
rank = got_rank(d)
|
rank = got_rank(d)
|
||||||
|
if not rank:
|
||||||
|
await b_cmd.finish(f"该用户在群{gid}关于{keyword}的B话数量为0。")
|
||||||
|
|
||||||
await saa.Text(f"该用户在群{gid}的B话数量为{rank[0][1]}。").send(reply=True)
|
await saa.Text(f"该用户在群{gid}关于{keyword}的B话数量为{rank[0][1]}。").send(reply=True)
|
||||||
|
|
||||||
|
|
||||||
rank_cmd = on_alconna(
|
rank_cmd = on_alconna(
|
||||||
|
Loading…
Reference in New Issue
Block a user