From c883a3666e9484afc211a442816620140c1380de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=91=E8=B4=A8?= Date: Fri, 16 Dec 2022 18:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=A6=E7=AB=8B=E5=89=8D=E7=BC=80=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OlivaDiceOdyssey/msgReply.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OlivaDiceOdyssey/msgReply.py b/OlivaDiceOdyssey/msgReply.py index 09d164f..156d9a2 100644 --- a/OlivaDiceOdyssey/msgReply.py +++ b/OlivaDiceOdyssey/msgReply.py @@ -26,9 +26,9 @@ def unity_init(plugin_event, Proc): def data_init(plugin_event, Proc): OlivaDiceOdyssey.msgCustomManager.initMsgCustom(Proc.Proc_data['bot_info_dict']) - if 'replyContextFliter' in OlivaDiceCore.crossHook.dictHookList: - OlivaDiceCore.crossHook.dictHookList['replyContextFliter'].append('rules') - OlivaDiceCore.crossHook.dictHookList['replyContextFliter'].append('rule') + if 'replyContextPrefixFliter' in OlivaDiceCore.crossHook.dictHookList: + OlivaDiceCore.crossHook.dictHookList['replyContextPrefixFliter'].append('rules') + OlivaDiceCore.crossHook.dictHookList['replyContextPrefixFliter'].append('rule') def unity_reply(plugin_event, Proc): OlivaDiceCore.userConfig.setMsgCount()