测试auth动态化

This commit is contained in:
liuwei
2025-06-09 15:10:54 +08:00
parent 1fcabfd365
commit aaaf555156
10 changed files with 62 additions and 39 deletions

View File

@@ -259,7 +259,7 @@ class GuessSongPlugin(MessagePluginInterface):
await bot.send_text_message(session_id, f"❌开始猜歌游戏出错,请稍后重试", sender)
return False, f"处理出错: {e}"
@points_reward_decorator(5, "game", "猜歌名游戏", Feature.GUESS_MUSIC)
@points_reward_decorator(5, "game", "猜歌名游戏", FEATURE_KEY)
async def _check_answer(self, message: Dict[str, Any]) -> Tuple[bool, str]:
"""检查答案"""
try: