我的积分+积分排行
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user