feat: 人格设置

fix: 修复私聊不回复的问题
perf: 优化了一些指令的性能。
This commit is contained in:
Soulter
2023-02-18 21:57:12 +08:00
parent 5b26060a01
commit c472e871a9
4 changed files with 324 additions and 218 deletions
-2
View File
@@ -24,12 +24,10 @@ def hot_update(ver):
target = 'target.tar'
time.sleep(5)
while(True):
print("OKOK")
if os.path.exists('version.txt'):
version_file = open('version.txt', 'r', encoding='utf-8')
vs = version_file.read()
version = float(vs)
print('当前版本: ' + str(version))
else:
version = 0
if not os.path.exists(target):