Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
huanxin996 committed Nov 27, 2024
1 parent 7dd304b commit 3a2bd3a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_hx_yinying/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
)

#在这里拉一坨大的😋
#在这里拉一坨大的
#awa--------味大,无需多盐!
logger.opt(colors=True).success( f"""
<fg #60F5F5> ------------------<Y>幻歆v{hx_config.hx_version}</Y>----------------</fg #60F5F5>
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_hx_yinying/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def path_in() -> str:
return log_dir


#判断主要配置文件夹是否存在
#判断配置文件夹是否存在
log_dir = path_in()

def config_in_global() -> str:
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_hx_yinying/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 插件数据文件存储路径,可不填。
Expand Down
1 change: 0 additions & 1 deletion nonebot_plugin_hx_yinying/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
)
from .config import Config

##由星佑的oops修改而来
hx_config = get_plugin_config(Config)

if hx_config.hx_path == None:
Expand Down

0 comments on commit 3a2bd3a

Please sign in to comment.