-
Notifications
You must be signed in to change notification settings - Fork 52
Installation
Ljzd-PRO edited this page Dec 17, 2022
·
27 revisions
如果您已经配置好 NoneBot2,可跳过前面的安装步骤
📖 查阅官方文档: https://v2.nonebot.dev/docs/start/installation
📖 查阅官方文档: https://docs.go-cqhttp.org/guide/quick_start.html#基础教程
📖 查阅官方文档:
- https://onebot.adapters.nonebot.dev/docs/guide/installation
- https://onebot.adapters.nonebot.dev/docs/guide/setup
nb plugin install nonebot_plugin_mystool
nb plugin uninstall nonebot_plugin_mystool
- 终端使用命令
pip install nonebot_plugin_mystool
- 修改机器人目录的
pyproject.toml
文件
# ...
[tool.nonebot]
# ...
plugins = []
# ...
⬇️ 在 [tool.nonebot] plugins
中添加 "nonebot_plugin_mystool"
⬇️
# ...
[tool.nonebot]
# ...
plugins = ["nonebot_plugin_mystool"]
# ...
- 终端使用命令
pip uninstall nonebot_plugin_mystool
- 修改机器人目录的
pyproject.toml
文件
# ...
[tool.nonebot]
# ...
plugins = ["nonebot_plugin_mystool"]
# ...
⬇️ 在 [tool.nonebot] plugins
中删除 "nonebot_plugin_mystool"
⬇️
# ...
[tool.nonebot]
# ...
plugins = []
# ...
📖 请查看插件配置的 📄 说明文档
在机器人工作目录下,执行
nb run