Template plugin project
Project description
📖 介绍
一个衍生自绪山真寻 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
且在加载 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
- 模板样式来源,真寻酱可爱!
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
📝 更新日志
芝士刚刚发布的插件,还没有更新日志的说 qwq~
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_picstatus_template_zhenxun-0.1.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_picstatus_template_zhenxun-0.1.1.tar.gz
- Upload date:
- Size: 265.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.25.5 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80d35c2227b3775d098da2da84168874f63564c0b4bd50540d4f8e63e6ebe694
|
|
| MD5 |
dc557a54a84c272c7ca286a505941af7
|
|
| BLAKE2b-256 |
24f4b1b525cb57353037315c708caf9fe94b172a1482779797418cb71d555fc8
|
File details
Details for the file nonebot_plugin_picstatus_template_zhenxun-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_picstatus_template_zhenxun-0.1.1-py3-none-any.whl
- Upload date:
- Size: 264.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.25.5 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fca0166eb30f8534f6fa53eb29787772337297194e8815b22ec70e6022b4e272
|
|
| MD5 |
95f9b9920243f28547d34d65357c5d96
|
|
| BLAKE2b-256 |
44ca817b03ebe769ba8596cb3e5d7ff0beddc993366b0377115bcb54917b7234
|