调整为100分一次,番号
This commit is contained in:
@@ -429,7 +429,7 @@ class FanhaoSearchPlugin(MessagePluginInterface):
|
|||||||
return "\n".join(lines)
|
return "\n".join(lines)
|
||||||
|
|
||||||
@plugin_stats_decorator(plugin_name="番号查询")
|
@plugin_stats_decorator(plugin_name="番号查询")
|
||||||
@plugin_points_cost(10, "番号查询消耗积分", FEATURE_KEY)
|
@plugin_points_cost(100, "番号查询消耗积分", FEATURE_KEY)
|
||||||
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", "") or "").strip()
|
content = str(message.get("content", "") or "").strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user