调整 README 关于运行和自动重载的部分

This commit is contained in:
2025-09-28 20:35:04 +08:00
parent a727c108fe
commit 4a26177ab9

View File

@ -65,7 +65,13 @@ code .
### 运行
如果改动了代码,应该先用 `Ctrl+C` 或者根据控制台提示退出,然后再重新启动。
你可以在 VSCode 的「运行与调试」窗口,启动 `运行 Bot 并调试(自动重载)` 任务来启动 Bot也可以使用命令行手动启动 Bot
```bash
poetry run watchfiles bot.main
```
如果你不希望自动重载,只是想运行 Bot可以直接运行
```bash
poetry run python bot.py