Skip to main content

No project description provided

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-abot-place

✨ 移植于 ABot 的画板插件,可以和所有的 bot 用户一起画画! ✨

license PyPI - Downloads pypi python pdm-managed Code style: black onebot onebot QQ Chat Group QQ Chat Group

📖 介绍

源于 ABot 的画板插件

💿 安装

使用 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

🙏 感谢

在此感谢以下开发者(项目)对本项目做出的贡献:

⏳ Star 趋势

Stargazers over time

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

nonebot_plugin_abot_place-0.1.0.post2.tar.gz (12.5 MB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_abot_place-0.1.0.post2-py3-none-any.whl (12.5 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_abot_place-0.1.0.post2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_abot_place-0.1.0.post2.tar.gz
Algorithm Hash digest
SHA256 2b1c4bcc486ce49744459f133dd283c41a3de081e6c9421f223393075f6de611
MD5 56cc606e3e7314ca39d2194e87cbd83b
BLAKE2b-256 3443851173a02b85fc30b0a675b1b21fada9c22f8708047e6b4d82d03e22b615

See more details on using hashes here.

File details

Details for the file nonebot_plugin_abot_place-0.1.0.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_abot_place-0.1.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 922c7f8dd7f944c3473e7083f2228331917837bded94c9ae27555f8aad364b8b
MD5 8c69862302027c3f2c04c85538a5028a
BLAKE2b-256 67f6817e79e82090c66b22ba56f5b625c51ff207cd353c4f02923da14ad46e47

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