我的积分+积分排行

This commit is contained in:
liuwei
2025-04-09 16:47:49 +08:00
parent c3cd14d7c3
commit 73053541da

View File

@@ -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)