新增潜水排行
This commit is contained in:
@@ -112,7 +112,7 @@ class InactiveRankPlugin(MessagePluginInterface):
|
||||
await bot.send_text_message(roomid, f"📉 {days}天内暂无潜水成员", sender)
|
||||
return True, "暂无数据"
|
||||
|
||||
lines = [f"(≥{days}天 未发言,前{limit}名)"]
|
||||
lines = [f"📉潜水排行榜 \n(≥{days}天 未发言,前{limit}名)"]
|
||||
for i, r in enumerate(rows, 1):
|
||||
name = (r.get("nick_name") or r.get("wxid") or "").strip()
|
||||
inactivity = int(r.get("inactivity_days", 0))
|
||||
|
||||
Reference in New Issue
Block a user