1.修复一些bug2.冒险现在可以放弃
This commit is contained in:
@@ -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 命令帮助
|
||||
|
||||
Reference in New Issue
Block a user