调整限流策略

This commit is contained in:
liuwei
2025-08-12 11:49:00 +08:00
parent b23656aadc
commit db1496b195

View File

@@ -185,7 +185,7 @@ class GuessSongPlugin(MessagePluginInterface):
return command in self._commands
@plugin_stats_decorator(plugin_name="猜歌名游戏")
@group_feature_rate_limit(max_per_minute=1, feature_key=FEATURE_KEY)
@group_feature_rate_limit(max_per_minute=5, feature_key=FEATURE_KEY)
async def process_message(self, message: Dict[str, Any]) -> Tuple[bool, Optional[str]]:
"""处理消息"""
content = str(message.get("content", "")).strip()