💄 人性化提示

This commit is contained in:
XuChenXu 2024-11-25 21:02:04 +08:00
parent 10cc5cf278
commit 29b4598e5f

View File

@ -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(