Skip to main content

Default template for PDM package

Project description

Nonebot Plugin Arcaea Sticker

Arcaea 表情包生成器

✨ 基于 NoneBot2 的 Arcaea 表情包生成插件 ✨

python QQ Chat Group
Pydantic Version 1 Or 2 license pypi pypi download
NoneBot Registry Supported Adapters

📖 介绍

本插件可以生成 Arcaea 风格的表情包,支持自定义文字、位置、角度、颜色等参数。

💿 安装

以下提到的方法 任选其一 即可

[推荐] 使用 nb-cli 安装

在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

nb plugin install nonebot-plugin-arcaea-sticker

使用包管理器安装

  1. 使用 pip 安装插件:
pip install nonebot-plugin-arcaea-sticker
  1. 在 NoneBot2 项目的 pyproject.toml 文件中添加插件:
[tool.nonebot]
plugins = ["nonebot_plugin_arcaea_sticker"]

⚙️ 配置

在 NoneBot2 项目的 .env 文件中添加以下配置:

# 是否回复消息
arcaea_reply=true
# 是否使用缓存
arcaea_use_cache=true

🎮 使用方法

基础指令

  • arc <角色> <文字> - 生成表情包
  • arc -h - 显示帮助
  • arc - 进入交互模式

自定义参数(都是可选的)

  • -s, --size <大小> - 文字大小 (20~45,默认35)
  • -x <位置> - 横向位置 (0~296,默认148)
  • -y <位置> - 纵向位置 (0~256,默认128)
  • -r, --rotate <角度> - 旋转角度 (-180~180,默认-12)
  • -c, --color <颜色> - 文字颜色 (十六进制,默认角色专属颜色)

使用示例

arc luna 好耶!                         # 基础用法
arc hikari "第一行\n第二行" -s 45         # 多行文字
arc tairitsu 开心 -x 150 -y 100 -r -20  # 调整位置和角度

📝 功能特点

  • 支持生成 Arcaea 角色的表情包
  • 支持命令模式和交互模式
  • 支持自定义文字、位置、角度、颜色等参数
  • 支持多行文本和自动换行
  • 智能文字大小调整
  • 支持中文角色名称

🔧 依赖

  • Python 3.8+
  • NoneBot2
  • nonebot-plugin-htmlrender
  • Playwright

📄 开源许可

本项目基于 MIT 许可证开源。

注意事项:

  • 本项目代码使用 MIT 许可证开源,您可以自由使用和修改代码
  • 项目中的表情包素材来源于 Xestarrrr
  • 本项目基于 arcaea-stickers 项目开发
  • 请遵守原始素材的使用条款和限制

🙏 鸣谢

📞 联系

ღ互联网小猫窝ღ
QQ 群: 806446119 (Bot群,欢迎来玩)

JQ-28 QQ:480352716

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_arcaea_sticker-0.2.5.tar.gz (33.2 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_arcaea_sticker-0.2.5-py3-none-any.whl (33.2 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_arcaea_sticker-0.2.5.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_arcaea_sticker-0.2.5.tar.gz
Algorithm Hash digest
SHA256 539a0e3ef0835ee48ed5a50c8e8bc99674161e8644a5a213fddc06173c06c0c6
MD5 2929eb441de38c16fd72393912d9291a
BLAKE2b-256 f43cc351d77500b7b8bb1d7e65244de8e3856eb0bd17f0da857024321431475c

See more details on using hashes here.

File details

Details for the file nonebot_plugin_arcaea_sticker-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_arcaea_sticker-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8a6ec1c3d6e9b7d1ba6c5b79699ddaf3533ea690e41a7216127a756d34bf5c49
MD5 3359d9226b2b5ef003121e07d02f8af0
BLAKE2b-256 d1313494fb46a242c192008d9115360822c6851011b8e28377d5311e3f83421e

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