📖 介绍
一个衍生自绪山真寻 Bot 的 PicStatus 状态模板
效果图
点击展开
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-picstatus-template-zhenxun
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-picstatus-template-zhenxun
pdm
pdm add nonebot-plugin-picstatus-template-zhenxun
poetry
poetry add nonebot-plugin-picstatus-template-zhenxun
conda
conda install nonebot-plugin-picstatus-template-zhenxun
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_picstatus_template_zhenxun"
]
🎉 使用
在 nonebot2 项目的 .env 文件中添加如下配置
PS_TEMPLATE=zhenxun
PS_BG_PROVIDER=zhenxun_banner
PS_BG_PRELOAD_COUNT=1
且在加载 PicStatus 插件的同时加载本插件
⚙️ 额外配置
在 nonebot2 项目的 .env 文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
PS_ZHENXUN_ADDITIONAL_CSS |
否 | [] |
向模板中附加的 CSS 脚本路径列表 |
PS_ZHENXUN_ADDITIONAL_SCRIPT |
否 | [] |
向模板中附加的 JS 脚本路径列表 |
PS_ZHENXUN_PIC_FORMAT |
否 | jpeg |
输出的图片格式,可选:jpeg、png |
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:168603371
邮箱:lgc2333@126.com
💡 鸣谢
HibiKier/zhenxun_bot
- 模板样式来源,真寻酱可爱!
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
📝 更新日志
0.2.0
- 适配 PicStatus 2.2.0 的 API 变动
Metadata
Release files for nonebot-plugin-picstatus-template-zhenxun 0.2.0
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_picstatus_template_zhenxun-0.2.0.tar.gz | 265.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_picstatus_template_zhenxun-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 529.1 kB
Release files / nonebot_plugin_picstatus_template_zhenxun-0.2.0.tar.gz
| Download URL | nonebot_plugin_picstatus_template_zhenxun-0.2.0.tar.gz |
|---|---|
| Size | 265.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37c744e03bcdbabd96f8f9afdcd15aa70de1a0be00f2d580eda2f60e33d51632
|
|
BLAKE2b-256 checksum How to use checksums |
34c20c0ba689873dabb62ac04130f87aa4577e42f9a1667df9755da98133efba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.15
|
Release files / nonebot_plugin_picstatus_template_zhenxun-0.2.0-py3-none-any.whl
| Download URL | nonebot_plugin_picstatus_template_zhenxun-0.2.0-py3-none-any.whl |
|---|---|
| Size | 263.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35a4120fa048df8b19832ae8480ddb66bb35b20f57bb480ee93f891cf490f1cf
|
|
BLAKE2b-256 checksum How to use checksums |
a742a7aca78f0adcb96928c290558954447c8d36dcc32a9bef6f590773cb1102
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.15
|