mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
chore: 修改配置文件名称
This commit is contained in:
parent
5865ac017c
commit
83d02aaaac
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -17,4 +17,5 @@ scenario/
|
||||||
override.json
|
override.json
|
||||||
cookies.json
|
cookies.json
|
||||||
res/announcement_saved
|
res/announcement_saved
|
||||||
cmdpriv.json
|
cmdpriv.json
|
||||||
|
tips.py
|
4
main.py
4
main.py
|
@ -379,8 +379,8 @@ def check_file():
|
||||||
shutil.copy("cmdpriv-template.json", "cmdpriv.json")
|
shutil.copy("cmdpriv-template.json", "cmdpriv.json")
|
||||||
|
|
||||||
# 检查tips_custom
|
# 检查tips_custom
|
||||||
if not os.path.exists("tips_custom.py"):
|
if not os.path.exists("tips.py"):
|
||||||
shutil.copy("tips_custom_template.py", "tips_custom.py")
|
shutil.copy("tips-custom-template.py", "tips.py")
|
||||||
|
|
||||||
# 检查temp目录
|
# 检查temp目录
|
||||||
if not os.path.exists("temp/"):
|
if not os.path.exists("temp/"):
|
||||||
|
|
|
@ -10,7 +10,7 @@ import json
|
||||||
|
|
||||||
__command_list__ = {}
|
__command_list__ = {}
|
||||||
|
|
||||||
import tips_custom
|
import tips as tips_custom
|
||||||
|
|
||||||
"""命令树
|
"""命令树
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import tips_custom
|
import tips as tips_custom
|
||||||
from ..mgr import AbstractCommandNode, Context
|
from ..mgr import AbstractCommandNode, Context
|
||||||
|
|
||||||
import pkg.openai.session
|
import pkg.openai.session
|
||||||
|
|
|
@ -19,7 +19,7 @@ import pkg.utils.context
|
||||||
|
|
||||||
import pkg.plugin.host as plugin_host
|
import pkg.plugin.host as plugin_host
|
||||||
import pkg.plugin.models as plugin_models
|
import pkg.plugin.models as plugin_models
|
||||||
import tips_custom
|
import tips as tips_custom
|
||||||
|
|
||||||
|
|
||||||
# 检查消息是否符合泛响应匹配机制
|
# 检查消息是否符合泛响应匹配机制
|
||||||
|
|
|
@ -7,7 +7,7 @@ import pkg.openai.session
|
||||||
import pkg.plugin.host as plugin_host
|
import pkg.plugin.host as plugin_host
|
||||||
import pkg.plugin.models as plugin_models
|
import pkg.plugin.models as plugin_models
|
||||||
import pkg.qqbot.blob as blob
|
import pkg.qqbot.blob as blob
|
||||||
import tips_custom
|
import tips as tips_custom
|
||||||
|
|
||||||
|
|
||||||
def handle_exception(notify_admin: str = "", set_reply: str = "") -> list:
|
def handle_exception(notify_admin: str = "", set_reply: str = "") -> list:
|
||||||
|
|
|
@ -27,7 +27,7 @@ import pkg.plugin.models as plugin_models
|
||||||
import pkg.qqbot.ignore as ignore
|
import pkg.qqbot.ignore as ignore
|
||||||
import pkg.qqbot.banlist as banlist
|
import pkg.qqbot.banlist as banlist
|
||||||
import pkg.qqbot.blob as blob
|
import pkg.qqbot.blob as blob
|
||||||
import tips_custom
|
import tips as tips_custom
|
||||||
|
|
||||||
processing = []
|
processing = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user