1.修复一些bug2.冒险现在可以放弃

This commit is contained in:
2025-11-10 21:03:18 +08:00
parent 40f754e57b
commit 092ef58f23
8 changed files with 301 additions and 33 deletions

View File

@@ -182,6 +182,10 @@ class WPSConfigAPI(WPSAPI):
async def adjust_user_points(self, chat_id: int, user_id: int, delta: int, reason: str = "") -> int:
return await self._adjust_points(chat_id, user_id, delta, reason)
def adjust_user_points_sync(self, user_id: int, delta: int, reason: str = "") -> int:
"""同步调整积分,供非异步流程使用"""
return self._adjust_db_points(user_id, delta)
def _help_message(self) -> str:
return '''# 🛠️ Config 命令帮助