加入了级别功能。
This commit is contained in:
@@ -111,7 +111,7 @@ class AIGenImagePlugin(MessagePluginInterface):
|
||||
return command in self._commands
|
||||
|
||||
@plugin_stats_decorator(plugin_name="AI绘图")
|
||||
@plugin_points_cost(5, "AI绘图消耗积分", FEATURE_KEY)
|
||||
@plugin_points_cost(20, "AI绘图消耗积分", FEATURE_KEY)
|
||||
async def process_message(self, message: Dict[str, Any]) -> Tuple[bool, Optional[str]]:
|
||||
"""处理消息"""
|
||||
content = str(message.get("content", "")).strip()
|
||||
|
||||
Reference in New Issue
Block a user