Skip to content

Commit

Permalink
fix(api_hook): 修复没有await的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdaYH committed Jan 17, 2024
1 parent 3bccc3e commit 3a026ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migang/core/core_plugins/hooks/api_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ async def _(
data: Dict[str, Any],
):
if bot.adapter.get_name() == "OneBot V11":
_onebotv11(bot, api, data)
await _onebotv11(bot, api, data)

0 comments on commit 3a026ef

Please sign in to comment.