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.post1.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.post1-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.post1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_abot_place-0.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 9a6bf7a44821c78bdb85b68360188dbb48adccf168aea71e10fdb5db11b9dc9f
MD5 ed43e4047e94e1411e35f2da9a711d21
BLAKE2b-256 8934391ffb59ff9c36db25f1a49d022bb5de102d3f43aa2cd95f2338a5968bad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_abot_place-0.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 294240b01a4bd306251bf2ec03919fdaa690f145422f4655b1f1ec5dffec19b9
MD5 0695d4531f0027c78dfd5850f59155b7
BLAKE2b-256 f8faeb9a5e4338b1206f6d79f69148f32328ef440adc7f9905b7af987d7e0c6b

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