图片积分加码
This commit is contained in:
@@ -98,7 +98,7 @@ class XiurenImagePlugin(MessagePluginInterface):
|
|||||||
return command in self._commands
|
return command in self._commands
|
||||||
|
|
||||||
@plugin_stats_decorator(plugin_name="秀人图片")
|
@plugin_stats_decorator(plugin_name="秀人图片")
|
||||||
@plugin_points_cost(2, "秀人图片消耗积分", Feature.PIC)
|
@plugin_points_cost(9, "秀人图片消耗积分", Feature.PIC)
|
||||||
async def process_message(self, message: Dict[str, Any]) -> Tuple[bool, Optional[str]]:
|
async def process_message(self, message: Dict[str, Any]) -> Tuple[bool, Optional[str]]:
|
||||||
"""处理消息"""
|
"""处理消息"""
|
||||||
content = str(message.get("content", "")).strip()
|
content = str(message.get("content", "")).strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user