Skip to main content

Template plugin project

Project description

NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-PicStatus-Template-ZhenXun

✨ 一个衍生自绪山真寻 Bot 的 PicStatus 状态模板 ✨

python uv wakatime
Pydantic Version 1 Or 2 license pypi pypi download
NoneBot Registry Supported Adapters

📖 介绍

一个衍生自绪山真寻 Bot 的 PicStatus 状态模板

效果图

点击展开

example

💿 安装

以下提到的方法 任选其一 即可

[推荐] 使用 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 输出的图片格式,可选:jpegpng

📞 联系

QQ:3076823485
Telegram:@lgc2333
吹水群:168603371
邮箱:lgc2333@126.com

💡 鸣谢

HibiKier/zhenxun_bot

  • 模板样式来源,真寻酱可爱!

💰 赞助

赞助我

感谢大家的赞助!你们的赞助将是我继续创作的动力!

📝 更新日志

0.2.0

  • 适配 PicStatus 2.2.0 的 API 变动

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_picstatus_template_zhenxun-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_picstatus_template_zhenxun-0.2.0.tar.gz
Algorithm Hash digest
SHA256 37c744e03bcdbabd96f8f9afdcd15aa70de1a0be00f2d580eda2f60e33d51632
MD5 555f359774f0490543683eddb0aad3d9
BLAKE2b-256 34c20c0ba689873dabb62ac04130f87aa4577e42f9a1667df9755da98133efba

See more details on using hashes here.

File details

Details for the file nonebot_plugin_picstatus_template_zhenxun-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_picstatus_template_zhenxun-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35a4120fa048df8b19832ae8480ddb66bb35b20f57bb480ee93f891cf490f1cf
MD5 3b2f3e63c980a7ec4efbd2772e562c35
BLAKE2b-256 a742a7aca78f0adcb96928c290558954447c8d36dcc32a9bef6f590773cb1102

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page