From 44a15d684b27e58b14c28755388ea7c843e655df Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Mon, 21 Dec 2020 19:32:58 +0800 Subject: [PATCH] :pencil2: fix typo --- docs/api/adapters/README.md | 2 +- nonebot/adapters/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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