调整积分排行内容

This commit is contained in:
liuwei
2025-06-11 16:44:50 +08:00
parent 28a52b3803
commit 0898fc0e9f

View File

@@ -372,7 +372,7 @@ class PointTradePlugin(MessagePluginInterface):
points = user.get('total_points', 0)
# 获取用户昵称
user_info = self.bot.get_chatroom_nickname(user_id, roomid)
user_info = await self.bot.get_chatroom_nickname(user_id, roomid)
# 添加排名标记
rank_mark = "🥇" if i == 1 else "🥈" if i == 2 else "🥉" if i == 3 else f"{i}."