Skip to content

Commit

Permalink
版本推进至3.0.12,优化戳一戳流程中的不必要调用
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Mar 17, 2023
1 parent 13ad983 commit e965c08
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions OlivaDiceJoy/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"namespace" : "OlivaDiceJoy",
"message_mode" : "old_string",
"info" : "本模块为OlivaDice的娱乐模块,提供了一些无关紧要的娱乐功能,它们或许是与跑团关系不大、或许只是一些历史原因遗留下来的传统,总之,这些在野蛮生长时期被或是由于开发者无知、或是作为恶性竞争手段、或是用户呼声较大但对于跑团而言意义不明的,被添加进来的小功能,都会被放入这个模块。",
"version" : "3.0.11",
"svn" : 19,
"version" : "3.0.12",
"svn" : 20,
"compatible_svn" : 101,
"priority" : 20010,
"support" : [
Expand Down
4 changes: 2 additions & 2 deletions OlivaDiceJoy/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
'''


OlivaDiceJoy_ver = '3.0.11'
OlivaDiceJoy_svn = 19
OlivaDiceJoy_ver = '3.0.12'
OlivaDiceJoy_svn = 20
OlivaDiceJoy_ver_short = '%s(%s)' % (str(OlivaDiceJoy_ver), str(OlivaDiceJoy_svn))

listPlugin = []
Expand Down
4 changes: 3 additions & 1 deletion OlivaDiceJoy/msgReply.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def poke_jrrp(plugin_event, type):
return tmp_reply_str

def poke_rd(plugin_event, event_type):
tmp_group_id = plugin_event.data.group_id
tmp_group_id = None
if 'group_id' in plugin_event.data.__dict__:
tmp_group_id = plugin_event.data.group_id
tmp_user_platform = plugin_event.platform['platform']
tmp_hagID = None
if event_type == 'group':
Expand Down

0 comments on commit e965c08

Please sign in to comment.