nonebot插件-动态帮助图片制作
Project description
⚠ 注意
因为我是小白,我只能以我自己的方式写我觉得可能挺好用的插件() 所以部分代码逻辑可能不是很好 此插件部分代码参考 nonebot-plugin-picstatus (制图与部分资源获取)
📖 介绍
这里是插件的详细介绍部分
💿 安装
暂时未完成上传PYPI,目前只能下载源码使用。
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-HelpWithPic
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-HelpWithPic
pdm
pdm add nonebot-plugin-HelpWithPic
poetry
poetry add nonebot-plugin-HelpWithPic
conda
conda install nonebot-plugin-HelpWithPic
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_HelpWithPic"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
ps_font | 否 | None | 配置说明 |
ps_custom_bg | 否 | [] | 图片背景,需要以file:///开头,比如['file:///./data/draw/default_bg1.png'] |
version | 否 | "Unknow" | 可以填你的bot版本 |
HWP_commandstart | 否 | "#" | 自定义命令头 |
HWP_nickname | 否 | "本bot的帮助文档" | 标题 |
HWP_text | 否 | "你想要的,我们都没有(不是\n这是描述" | 描述 |
plugin_version | 否 | "HelpWithPic-Beta1.0" | 插件版本 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
#help | user | 否 | 群聊/私聊 | 请根据HWP_commandstart使用 |
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
Close
Hashes for nonebot-plugin-HelpWithPic-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a21c08074aea0a0b68f76d34cf261681f1a9344a0d876de688183863d9a63c9 |
|
MD5 | 252900c6165afe36f1faad8f4ecef483 |
|
BLAKE2b-256 | 51571572cff5612154cae314540ab886e4559a612d150bbb66f30432f010e220 |
Close
Hashes for nonebot_plugin_HelpWithPic-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e61e4038f1269662414cd1d82d491841879d5c352f8bbd78807febc4aa6a9b4 |
|
MD5 | bc945b41f678e55b28eca26a53a31d2c |
|
BLAKE2b-256 | e8df565df74aa646a6285254ad6a2b91286a2384fb9b463670114b0254fd8bd0 |