diff --git a/docs/api/adapters/README.md b/docs/api/adapters/README.md index e038de33..56319168 100644 --- a/docs/api/adapters/README.md +++ b/docs/api/adapters/README.md @@ -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") ``` diff --git a/nonebot/adapters/__init__.py b/nonebot/adapters/__init__.py index ade02be6..1d4d971a 100644 --- a/nonebot/adapters/__init__.py +++ b/nonebot/adapters/__init__.py @@ -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