📝 Docs: on_keyword 参数类型错误 (#2795)

Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
fallllllllsleep 2024-07-04 23:04:58 +08:00 committed by GitHub
parent 84ebcb4ce6
commit 2ad2922565
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -154,7 +154,7 @@ rule = keyword("hello", "hi")
```python
from nonebot import on_keyword
matcher = on_keyword("hello", "hi")
matcher = on_keyword({"hello", "hi"})
```
### `command`

View File

@ -154,7 +154,7 @@ rule = keyword("hello", "hi")
```python
from nonebot import on_keyword
matcher = on_keyword("hello", "hi")
matcher = on_keyword({"hello", "hi"})
```
### `command`

View File

@ -154,7 +154,7 @@ rule = keyword("hello", "hi")
```python
from nonebot import on_keyword
matcher = on_keyword("hello", "hi")
matcher = on_keyword({"hello", "hi"})
```
### `command`

View File

@ -154,7 +154,7 @@ rule = keyword("hello", "hi")
```python
from nonebot import on_keyword
matcher = on_keyword("hello", "hi")
matcher = on_keyword({"hello", "hi"})
```
### `command`