mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-30 17:50:03 +00:00
Fix typo
This commit is contained in:
@ -31,7 +31,7 @@ awesome-bot
|
|||||||
|
|
||||||
## 加载插件
|
## 加载插件
|
||||||
|
|
||||||
现在我们的插件目录已经有了一个空的 `weather.py`,实际上它已经可以被成为一个插件了,尽管它还什么都没做。下面我们来让 NoneBot 加载这个插件,修改 `bot.py` 如下:
|
现在我们的插件目录已经有了一个空的 `weather.py`,实际上它已经可以被称为一个插件了,尽管它还什么都没做。下面我们来让 NoneBot 加载这个插件,修改 `bot.py` 如下:
|
||||||
|
|
||||||
```python {1,9-10}
|
```python {1,9-10}
|
||||||
from os import path
|
from os import path
|
||||||
|
Reference in New Issue
Block a user