diff --git a/plugins/genshin/query_resource_points/query_resource.py b/plugins/genshin/query_resource_points/query_resource.py index ccfd1e6c..53c2beaf 100755 --- a/plugins/genshin/query_resource_points/query_resource.py +++ b/plugins/genshin/query_resource_points/query_resource.py @@ -1,6 +1,6 @@ from pathlib import Path from typing import Tuple, Optional, List -from configs.path_config import IMAGE_PATH, TEXT_PATH +from configs.path_config import IMAGE_PATH, TEXT_PATH, TEMP_PATH from utils.message_builder import image from services.log import logger from utils.image_utils import BuildImage @@ -57,7 +57,7 @@ async def query_resource(resource_name: str) -> str: None, map_.generate_resource_icon_in_map ) return ( - f"{image(TEXT_PATH/f'genshin_map_{rand}.png')}" + f"{image(TEMP_PATH / f'genshin_map_{rand}.png')}" f"\n\n※ {resource_name} 一共找到 {count} 个位置点\n※ 数据来源于米游社wiki" )