mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
✏️ fix rst typo
This commit is contained in:
parent
36c0d995af
commit
872df975f5
@ -179,7 +179,7 @@ async def handle_event(bot: Bot, event: Event):
|
|||||||
* ``event: Event``: Event 对象
|
* ``event: Event``: Event 对象
|
||||||
:示例:
|
:示例:
|
||||||
|
|
||||||
..code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
asyncio.create_task(handle_event(bot, event))
|
asyncio.create_task(handle_event(bot, event))
|
||||||
|
Loading…
Reference in New Issue
Block a user