mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
chore: 修改配置文件名称
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -17,4 +17,5 @@ scenario/
|
||||
override.json
|
||||
cookies.json
|
||||
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")
|
||||
|
||||
# 检查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/"):
|
||||
|
||||
@@ -10,7 +10,7 @@ import json
|
||||
|
||||
__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
|
||||
|
||||
import pkg.openai.session
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
# 检查消息是否符合泛响应匹配机制
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user