chore: 修改配置文件名称

This commit is contained in:
Rock Chin 2023-04-07 13:20:57 +08:00
parent 5865ac017c
commit 83d02aaaac
8 changed files with 9 additions and 8 deletions

3
.gitignore vendored
View File

@ -17,4 +17,5 @@ scenario/
override.json
cookies.json
res/announcement_saved
cmdpriv.json
cmdpriv.json
tips.py

View File

@ -379,8 +379,8 @@ def check_file():
shutil.copy("cmdpriv-template.json", "cmdpriv.json")
# 检查tips_custom
if not os.path.exists("tips_custom.py"):
shutil.copy("tips_custom_template.py", "tips_custom.py")
if not os.path.exists("tips.py"):
shutil.copy("tips-custom-template.py", "tips.py")
# 检查temp目录
if not os.path.exists("temp/"):

View File

@ -10,7 +10,7 @@ import json
__command_list__ = {}
import tips_custom
import tips as tips_custom
"""命令树

View File

@ -1,4 +1,4 @@
import tips_custom
import tips as tips_custom
from ..mgr import AbstractCommandNode, Context
import pkg.openai.session

View File

@ -19,7 +19,7 @@ import pkg.utils.context
import pkg.plugin.host as plugin_host
import pkg.plugin.models as plugin_models
import tips_custom
import tips as tips_custom
# 检查消息是否符合泛响应匹配机制

View File

@ -7,7 +7,7 @@ import pkg.openai.session
import pkg.plugin.host as plugin_host
import pkg.plugin.models as plugin_models
import pkg.qqbot.blob as blob
import tips_custom
import tips as tips_custom
def handle_exception(notify_admin: str = "", set_reply: str = "") -> list:

View File

@ -27,7 +27,7 @@ import pkg.plugin.models as plugin_models
import pkg.qqbot.ignore as ignore
import pkg.qqbot.banlist as banlist
import pkg.qqbot.blob as blob
import tips_custom
import tips as tips_custom
processing = []