Skip to content

Commit

Permalink
新增独占接口的入口条件
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Dec 5, 2023
1 parent c021874 commit 4b3dbd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OlivaDiceLogger/msgReply.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ def unity_reply(plugin_event, Proc):
tmp_reply_str = OlivaDiceCore.msgCustomManager.formatReplySTR(dictStrCustom['strLoggerLogUrl'], dictTValue)
replyMsg(plugin_event, tmp_reply_str)
try:
if plugin_event.indeAPI.hasAPI('create_message'):
if plugin_event.platform['platform'] == 'kaiheila'\
and plugin_event.indeAPI.hasAPI('create_message'):
plugin_event.indeAPI.create_message(
chat_type = 'group',
chat_id = plugin_event.data.group_id,
Expand Down

0 comments on commit 4b3dbd7

Please sign in to comment.