📖 介绍
源于 ABot 的画板插件
图片来自 https://web.archive.org/web/20170417154453/https://redditblog.com/2017/04/13/how-we-built-rplace/
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-abot-place
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-abot-place
pdm
pdm add nonebot-plugin-abot-place
poetry
poetry add nonebot-plugin-abot-place
conda
conda install nonebot-plugin-abot-place
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_abot_place"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的配置, 配置均为非必须项
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| place_view_aliases | set[str] | None | "查看画板"的命令别名 |
| color_view_aliases | set[str] | None | "查看色板"的命令别名 |
| place_draw_aliases | set[str] | None | "画板作画"的命令别名 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 参数 | 说明 |
|---|---|---|---|---|---|
| 查看画板 | 所有人 | 否 | 无限制 | chunk_x chunk_y | 查询指定区块的图像 |
| 查看色板 | 所有人 | 否 | 无限制 | None | 查看颜色与其对应的编号 |
| 画板作画 | 所有人 | 否 | 无限制 | chunk_x chunk_y block_x block_y color | 在指定位置绘制指定颜色 |
注:
chunk_x chunk_y 为画板区块,取值为 0-31 block_x block_y 为画板区块,取值为 0-31 color 为颜色,取值为 0-255
🙏 感谢
在此感谢以下开发者(项目)对本项目做出的贡献:
- ABot-Graia 永远怀念最好的 ABot 🙏
- nonebot-plugin-template: 项目的 README 模板
⏳ Star 趋势
Metadata
Release files for nonebot-plugin-abot-place 0.1.0.post3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_abot_place-0.1.0.post3.tar.gz | 12.5 MB | Without provenance | Details for nonebot_plugin_abot_place-0.1.0.post3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_abot_place-0.1.0.post3-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_abot_place-0.1.0.post3-py3-none-any.whl |
Total release size: 25.0 MB
Release files / nonebot_plugin_abot_place-0.1.0.post3.tar.gz
| Download URL | nonebot_plugin_abot_place-0.1.0.post3.tar.gz |
|---|---|
| Size | 12.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53eb3ab51a7f115f02c09a6005892a033b80defeeae0e2021acf095ddcaa0888
|
|
BLAKE2b-256 checksum How to use checksums |
febad4ad889b47fceb9fbd9e25f8344fa5f3dc9fbf03ba8cde1b2dc9fbfabedc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nonebot_plugin_abot_place-0.1.0.post3-py3-none-any.whl
| Download URL | nonebot_plugin_abot_place-0.1.0.post3-py3-none-any.whl |
|---|---|
| Size | 12.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b5e9585212978f5e8f988b80c663eb19b2466c988fea6d61ad24b7598c21d9b
|
|
BLAKE2b-256 checksum How to use checksums |
b934be2c04b8a128c67461446c2e9150257c70ebe26f7d249fc1f8a5097d0f95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for nonebot-plugin-abot-place 0.1.0.post3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.