Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Docs: 修复文档中的示例插件 #111

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion website/docs/guide/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ http://$HOST:$PORT/feishu/$app_id
```python
from nonebot.plugin import on_command
from nonebot.typing import T_State
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent
from nonebot.params import CommandArg
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent, Message

helper = on_command("say")

Expand Down
3 changes: 2 additions & 1 deletion website/versioned_docs/version-2.6.0/guide/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ http://$HOST:$PORT/feishu/$app_id
```python
from nonebot.plugin import on_command
from nonebot.typing import T_State
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent
from nonebot.params import CommandArg
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent, Message

helper = on_command("say")

Expand Down
3 changes: 2 additions & 1 deletion website/versioned_docs/version-2.6.1/guide/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ http://$HOST:$PORT/feishu/$app_id
```python
from nonebot.plugin import on_command
from nonebot.typing import T_State
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent
from nonebot.params import CommandArg
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent, Message

helper = on_command("say")

Expand Down
3 changes: 2 additions & 1 deletion website/versioned_docs/version-2.6.2/guide/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ http://$HOST:$PORT/feishu/$app_id
```python
from nonebot.plugin import on_command
from nonebot.typing import T_State
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent
from nonebot.params import CommandArg
from nonebot.adapters.feishu import Bot as FeishuBot, MessageEvent, Message

helper = on_command("say")

Expand Down