mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 08:11:38 +00:00
📝 update changelog
This commit is contained in:
6
tests/test_plugins/test_api_hook.py
Normal file
6
tests/test_plugins/test_api_hook.py
Normal file
@ -0,0 +1,6 @@
|
||||
from nonebot.adapters import Bot
|
||||
|
||||
|
||||
@Bot.on_calling_api
|
||||
async def call(bot: Bot, api: str, data: dict):
|
||||
print(type(bot), api, data)
|
Reference in New Issue
Block a user