调整积分排行内容
This commit is contained in:
@@ -372,7 +372,7 @@ class PointTradePlugin(MessagePluginInterface):
|
|||||||
points = user.get('total_points', 0)
|
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}."
|
rank_mark = "🥇" if i == 1 else "🥈" if i == 2 else "🥉" if i == 3 else f"{i}."
|
||||||
|
|||||||
Reference in New Issue
Block a user