From 0898fc0e9f66d99fcec85d9667e6f79a1d016b7f Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 11 Jun 2025 16:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=A7=AF=E5=88=86=E6=8E=92?= =?UTF-8?q?=E8=A1=8C=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/point_trade/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/point_trade/main.py b/plugins/point_trade/main.py index e7858f4..112b19a 100644 --- a/plugins/point_trade/main.py +++ b/plugins/point_trade/main.py @@ -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}."