Skip to content

Commit

Permalink
版本推进至3.0.8
Browse files Browse the repository at this point in the history
从全前缀指令过滤迁移至精确指令识别过滤
  • Loading branch information
lunzhiPenxil committed Dec 14, 2022
1 parent 53fe9a6 commit cc46386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions OlivaDiceLogger/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"namespace" : "OlivaDiceLogger",
"message_mode" : "old_string",
"info" : "本模块为OlivaDice的日志模块,提供了跑团日志记录器,它可以在跑团过程中对日志进行记录,并由结果生成跑团日志,与在线的跑团日志渲染器进行联动、或发送日志邮件。",
"version" : "3.0.7",
"svn" : 15,
"version" : "3.0.8",
"svn" : 16,
"compatible_svn" : 101,
"priority" : 20030,
"support" : [
Expand Down
4 changes: 2 additions & 2 deletions OlivaDiceLogger/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
'''


OlivaDiceLogger_ver = '3.0.7'
OlivaDiceLogger_svn = 15
OlivaDiceLogger_ver = '3.0.8'
OlivaDiceLogger_svn = 16
OlivaDiceLogger_ver_short = '%s(%s)' % (str(OlivaDiceLogger_ver), str(OlivaDiceLogger_svn))

dataPath = './plugin/data/OlivaDice/unity'
Expand Down
2 changes: 1 addition & 1 deletion OlivaDiceLogger/msgReply.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def unity_reply(plugin_event, Proc):
#此群关闭时中断处理
if not flag_groupEnable and not flag_force_reply:
return
if isMatchWordStart(tmp_reast_str, 'log') and flag_is_from_group:
if isMatchWordStart(tmp_reast_str, 'log', isCommand = True) and flag_is_from_group:
tmp_reast_str = getMatchWordStartRight(tmp_reast_str, 'log')
tmp_reast_str = skipSpaceStart(tmp_reast_str)
tmp_reply_str = None
Expand Down

0 comments on commit cc46386

Please sign in to comment.