Skip to content

Commit

Permalink
📝 Docs: on_keyword 参数类型错误 (#2795)
Browse files Browse the repository at this point in the history
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
  • Loading branch information
TaskManagerOL and yanyongyu authored Jul 4, 2024
1 parent 84ebcb4 commit 2ad2922
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/docs/advanced/matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-2.2.1/advanced/matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-2.3.0/advanced/matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-2.3.1/advanced/matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 2ad2922

Please sign in to comment.