Skip to content

Commit

Permalink
另立前缀匹配模式
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Dec 16, 2022
1 parent 121c816 commit c883a36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OlivaDiceOdyssey/msgReply.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c883a36

Please sign in to comment.