📖 介绍
在NoneBot机器人中使用轻雪机器人的功能!
💿 安装
使用 nb-cli 安装(推荐,需先安装`nb-cli`)
在 轻雪 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-liteyukibot
使用 pip 安装
在 轻雪 项目的根目录下打开命令行, 输入以下指令即可安装pip install nonebot-plugin-liteyukibot
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-liteyukibot
pdm
pdm add nonebot-plugin-liteyukibot
poetry
poetry add nonebot-plugin-liteyukibot
conda
conda install nonebot-plugin-liteyukibot
🎉 使用
- 使用
nb-cli安装的插件默认加载,无需额外配置 - 包管理器手动安装需在
pyproject.toml中添加如下配置 - 详细用法请访问轻雪主页
plugins = ["nonebot_plugin_liteyukibot"]
⚙️ 配置
在插件运行模式下无需配置太多内容,如果需要配置,请 参考LiteyukiBot的配置文档,
在config下新建配置文件nonebot.yml/toml/json(你可自行命名),填入如下结构配置文件,这里使用yaml
ℹ️ 其他
Metadata
Release files for nonebot-plugin-liteyukibot 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_liteyukibot-0.1.9.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_liteyukibot-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / nonebot_plugin_liteyukibot-0.1.9.tar.gz
| Download URL | nonebot_plugin_liteyukibot-0.1.9.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fc591e418c3c7251a5abb258dddfd6c6112269e151356d44088d3156b42d982
|
|
BLAKE2b-256 checksum How to use checksums |
535a8831547f7f651d30ddc01572543def3973afd42d2941b9a99e60b33d24f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure
|
Release files / nonebot_plugin_liteyukibot-0.1.9-py3-none-any.whl
| Download URL | nonebot_plugin_liteyukibot-0.1.9-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89deea7ee11e784564c599a60ae83d469a19fe43ffb2c913faf815bef09d74cc
|
|
BLAKE2b-256 checksum How to use checksums |
881957b5191a4cdc786cfa4254896a471c04469c4f8044bbb49afc1109bfc9a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure
|