feat: 人格设置
fix: 修复私聊不回复的问题 perf: 优化了一些指令的性能。
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user