mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 05:06:56 +08:00
✏️ fix typo
This commit is contained in:
parent
f3243f8989
commit
44a15d684b
@ -147,7 +147,7 @@ Adapter 类型
|
||||
|
||||
|
||||
```python
|
||||
await bot.call_api("send_msg", message="hello world"})
|
||||
await bot.call_api("send_msg", message="hello world")
|
||||
await bot.send_msg(message="hello world")
|
||||
```
|
||||
|
||||
|
@ -116,7 +116,7 @@ class Bot(abc.ABC):
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
await bot.call_api("send_msg", message="hello world"})
|
||||
await bot.call_api("send_msg", message="hello world")
|
||||
await bot.send_msg(message="hello world")
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
Loading…
Reference in New Issue
Block a user