mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-25 01:25:04 +08:00
7 lines
135 B
Python
7 lines
135 B
Python
|
from nonebot.adapters import Bot
|
||
|
|
||
|
|
||
|
@Bot.on_calling_api
|
||
|
async def call(bot: Bot, api: str, data: dict):
|
||
|
print(type(bot), api, data)
|