Skip to main content
logo

✨ nonebot-plugin-auto-emojimix ✨

LICENSE python Adapters

uv ruff

📖 介绍

更好的emoji合成,长期跟踪上游数据源。支持两种触发方式:

  • 显式模式:发送 emoji+emoji(如 😂+🥺)触发合成
  • 自动模式:消息内包含两个相邻的 emoji(如 😂🥺)自动检测并合成(需配置开启)

数据来源:xsalazar/emoji-kitchen-backend,包含 14 万+ 种 emoji 组合。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-auto-emojimix --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-auto-emojimix --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-auto-emojimix --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
uv
uv add nonebot-plugin-auto-emojimix

安装仓库 main 分支

uv add git+https://github.com/Misty02600/nonebot-plugin-auto-emojimix@main
pdm
pdm add nonebot-plugin-auto-emojimix

安装仓库 main 分支

pdm add git+https://github.com/Misty02600/nonebot-plugin-auto-emojimix@main
poetry
poetry add nonebot-plugin-auto-emojimix

安装仓库 main 分支

poetry add git+https://github.com/Misty02600/nonebot-plugin-auto-emojimix@main

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_auto_emojimix"]
使用 nbr 安装(使用 uv 管理依赖可用)

nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2

nbr plugin install nonebot-plugin-auto-emojimix

使用 pypi 源安装

nbr plugin install nonebot-plugin-auto-emojimix -i "https://pypi.org/simple"

使用清华源安装

nbr plugin install nonebot-plugin-auto-emojimix -i "https://pypi.tuna.tsinghua.edu.cn/simple"

⚙️ 配置

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

配置项 必填 默认值 说明
emojimix_explicit 否 True 是否启用显式合成
emojimix_auto 否 True 是否启用自动模式(检测相邻 emoji 自动合成)
emojimix_cd 否 60 每个用户的冷却时间(秒),设为 0 则不限制
# 启用显式合成
emojimix_explicit=true
# 启用自动合成
emojimix_auto=true
# 设置冷却时间
emojimix_cd=3

🎉 使用

指令表

指令 权限 需要@ 范围 说明
emoji+emoji 所有 否 私聊/群聊 显式合成两个 emoji
(自动检测) 所有 否 私聊/群聊 消息中包含两个相邻 emoji 自动合成

更新数据

如果需要更新 emoji 组合数据(跟踪上游新增组合),克隆项目后运行:

uv run python scripts/update_emoji_data.py

脚本会自动检查上游是否有更新,有则下载并重新生成数据库。

Metadata

Release files for nonebot-plugin-auto-emojimix 0.2.1

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-auto-emojimix 0.2.1
File Size Uploaded Provenance Actions
nonebot_plugin_auto_emojimix-0.2.1.tar.gz 2.1 MB Without provenance Details for nonebot_plugin_auto_emojimix-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-auto-emojimix 0.2.1
File Interpreter ABI Platform Actions
nonebot_plugin_auto_emojimix-0.2.1-py3-none-any.whl Python 3 none any Details for nonebot_plugin_auto_emojimix-0.2.1-py3-none-any.whl

Total release size: 4.2 MB

Release files / nonebot_plugin_auto_emojimix-0.2.1.tar.gz

Download URL nonebot_plugin_auto_emojimix-0.2.1.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
10ed1cd43f791e23b37702cda445ca160ab11ee078332ce0932c71fbe175d161
BLAKE2b-256 checksum
How to use checksums
00bed03eb7380b72c8e311b4d22ef0e57d403423bfda58f70732b459c59e6de5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nonebot_plugin_auto_emojimix-0.2.1-py3-none-any.whl

Download URL nonebot_plugin_auto_emojimix-0.2.1-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a1a14d34df03fa93d19c0e35098165f102c255b9ae50e3fd28e624a3b4ff99be
BLAKE2b-256 checksum
How to use checksums
1a4540f17db9715975f495346ac9b2149c1c8954994c20ad2f16ff45353e3952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for nonebot-plugin-auto-emojimix 0.2.1

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.

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