From 3a2bd3a97c37020b20fd69556786539d67c6beaf Mon Sep 17 00:00:00 2001 From: huanxin996 Date: Thu, 28 Nov 2024 00:42:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_hx_yinying/__init__.py | 2 +- nonebot_plugin_hx_yinying/chat.py | 2 +- nonebot_plugin_hx_yinying/config.py | 2 +- nonebot_plugin_hx_yinying/report.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nonebot_plugin_hx_yinying/__init__.py b/nonebot_plugin_hx_yinying/__init__.py index 3e82135..8e8d875 100644 --- a/nonebot_plugin_hx_yinying/__init__.py +++ b/nonebot_plugin_hx_yinying/__init__.py @@ -36,7 +36,7 @@ }, ) -#在这里拉一坨大的😋 +#在这里拉一坨大的 #awa--------味大,无需多盐! logger.opt(colors=True).success( f""" ------------------幻歆v{hx_config.hx_version}---------------- diff --git a/nonebot_plugin_hx_yinying/chat.py b/nonebot_plugin_hx_yinying/chat.py index 93f131d..1d3b764 100644 --- a/nonebot_plugin_hx_yinying/chat.py +++ b/nonebot_plugin_hx_yinying/chat.py @@ -39,7 +39,7 @@ def path_in() -> str: return log_dir -#判断主要配置文件夹是否存在! +#判断配置文件夹是否存在! log_dir = path_in() def config_in_global() -> str: diff --git a/nonebot_plugin_hx_yinying/config.py b/nonebot_plugin_hx_yinying/config.py index f92c324..5d20906 100644 --- a/nonebot_plugin_hx_yinying/config.py +++ b/nonebot_plugin_hx_yinying/config.py @@ -7,7 +7,7 @@ class Config(BaseModel): hx_version: Optional[str] = "1.4.0" # 秩乱v你的appid yinying_appid: Optional[str] = None - #自定义命令头,默认为hx chat yinying + #自定义命令头,默认为 chat yinying hx_chatcommand: Set[str] = {"chat","yinying"} yinying_token: Optional[str] = None # 插件数据文件存储路径,可不填。 diff --git a/nonebot_plugin_hx_yinying/report.py b/nonebot_plugin_hx_yinying/report.py index 9df14e0..98c6a52 100644 --- a/nonebot_plugin_hx_yinying/report.py +++ b/nonebot_plugin_hx_yinying/report.py @@ -12,7 +12,6 @@ ) from .config import Config -##由星佑的oops修改而来 hx_config = get_plugin_config(Config) if hx_config.hx_path == None: