!! delete: 移除对逆向 ChatGPT 的所有支持。

This commit is contained in:
Soulter
2024-04-21 22:12:09 +08:00
parent 9a7db956d5
commit e9278fce6a
11 changed files with 88 additions and 467 deletions
+6 -3
View File
@@ -12,7 +12,6 @@ def main():
try:
import cores.astrbot.core as qqBot
import yaml
import util.general_utils as gu
ymlfile = open(abs_path+"configs/config.yaml", 'r', encoding='utf-8')
cfg = yaml.safe_load(ymlfile)
except ImportError as import_error:
@@ -91,6 +90,10 @@ if __name__ == "__main__":
else:
check_env()
t = threading.Thread(target=main, daemon=False)
t = threading.Thread(target=main, daemon=True)
t.start()
t.join()
try:
t.join()
except KeyboardInterrupt as e:
print("退出 AstrBot。")
exit()