diff --git a/ChanceCustom/app.json b/ChanceCustom/app.json index 87e714b..0a8ace2 100644 --- a/ChanceCustom/app.json +++ b/ChanceCustom/app.json @@ -4,8 +4,8 @@ "namespace" : "ChanceCustom", "info" : "以自定义回复为核心,附带群管、监控、词库、语音、图片、调用接口、对接网站、黑白名单、定时任务、网页爬虫、简单编程、入群验证、发言限制、简易QQ、Web服务器、制作接口等功能。交流群661366095", "priority" : 40000, - "version" : "0.2.12", - "svn" : 27, + "version" : "0.2.13", + "svn" : 28, "compatible_svn" : 101, "message_mode" : "old_string", "support" : [ diff --git a/ChanceCustom/main.py b/ChanceCustom/main.py index 126a598..e67c493 100644 --- a/ChanceCustom/main.py +++ b/ChanceCustom/main.py @@ -18,8 +18,8 @@ import platform -version = '0.2.12' -svn = 27 +version = '0.2.13' +svn = 28 version_full = '%s(%d)' % (version, svn) diff --git a/ChanceCustom/replyCore.py b/ChanceCustom/replyCore.py index e8daf10..2c2f25e 100644 --- a/ChanceCustom/replyCore.py +++ b/ChanceCustom/replyCore.py @@ -53,11 +53,11 @@ def setValDictUnity(valDict:dict): globalValDict['valGData'] = valDict['valGData'].copy() if 'innerVal' in valDict and 'bot_hash' in valDict['innerVal']: bot_hash = valDict['innerVal']['bot_hash'] - if 'valRawGOData' not in valDict: + if 'valRawGOData' not in globalValDict: globalValDict['valRawGOData'] = {} if 'valRawGOData' in valDict: globalValDict['valRawGOData'][bot_hash] = valDict['valRawGOData'].copy() - if 'valGOData' not in valDict: + if 'valGOData' not in globalValDict: globalValDict['valGOData'] = {} if 'valGOData' in valDict: globalValDict['valGOData'][bot_hash] = valDict['valGOData'].copy()