From 73053541da2ed7a26794b5010db6dc84e26e89a1 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 9 Apr 2025 16:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=A7=AF=E5=88=86+=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/point_trade/main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/point_trade/main.py b/plugins/point_trade/main.py index c4ede96..d67ff4a 100644 --- a/plugins/point_trade/main.py +++ b/plugins/point_trade/main.py @@ -121,12 +121,13 @@ class PointTradePlugin(MessagePluginInterface): return False, "没有权限" # 处理不同的命令 - if command[0] in ["积分转账", "转账积分"]: - return self._handle_transfer_points(message) - elif command[0] == "我的积分": + + if command[0] == "我的积分": return self._handle_my_points(message) elif command[0] == "积分排行": return self._handle_points_ranking(message) + elif command[0] in self._commands: + return self._handle_transfer_points(message) else: wcf.send_text(f"❌未知命令!{self.command_format}", (roomid if roomid else sender), sender)