Skip to main content
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 的画板插件

image

图片来自 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

🙏 感谢

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

⏳ Star 趋势

Stargazers over time

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)

Source distribution for nonebot-plugin-abot-place 0.1.0.post3
File Size Uploaded
nonebot_plugin_abot_place-0.1.0.post3.tar.gz 12.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-abot-place 0.1.0.post3
File Interpreter ABI Platform
nonebot_plugin_abot_place-0.1.0.post3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0.post3 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page