📖 介绍
羡慕 koishi (`3´)
- 群聊概率(默认0.7)复读羡慕
- 触发羡慕会收纳关键词,可配置关键词的最大字数(默认10),超过该值时,取其中的英文数字组合(超过最大字数忽略)
- 为了防止刷屏,不会连续羡慕同一关键词
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-envious --upgrade
使用 pypi 源安装/更新
nb plugin install nonebot-plugin-envious --upgrade -i https://pypi.org/simple
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令conda
uv add nonebot-plugin-envious
pip
pip install nonebot-plugin-envious
pdm
pdm add nonebot-plugin-envious
poetry
poetry add nonebot-plugin-envious
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_envious"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| envious_max_len | 否 | 10 | 收纳羡慕关键词的最大字符串长度 |
| envious_probability | 否 | 0.7 | 羡慕概率,只可填 0 ~ 1.0 之间的值 |
| envious_list | 否 | ["koishi"] | 默认羡慕列表 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 羡慕 | 群员 | 否 | 群聊 | 顾名思义 |
| 当前羡慕 | 群员 | 否 | 群聊 | 顾名思义 |
| 清空羡慕 | 群员 | 否 | 群聊 | 顾名思义 |
Metadata
Release files for nonebot-plugin-envious 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_envious-0.1.6.tar.gz | 6.1 kB | With provenance | Details for nonebot_plugin_envious-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_envious-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_envious-0.1.6-py3-none-any.whl |
Total release size: 12.3 kB
Release files / nonebot_plugin_envious-0.1.6.tar.gz
| Download URL | nonebot_plugin_envious-0.1.6.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8846edbf51358faa85a2e47f30204a3767a4785775962a7a08c2f790e331f13a
|
|
BLAKE2b-256 checksum How to use checksums |
ccb114d320cead10ae514880a1d9e41cf253a5e7a6ecbb5f2ced6960dd48e76d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logRelease files / nonebot_plugin_envious-0.1.6-py3-none-any.whl
| Download URL | nonebot_plugin_envious-0.1.6-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4fcab7ec0efd92ad04a31cce6b5395e4f25bfed2deb82021c80f267a3637434
|
|
BLAKE2b-256 checksum How to use checksums |
251d46adbec5d1db0c0b98923b969fd9d4b5725f863fb3839ddc81b7d1497c59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logSecurity for nonebot-plugin-envious 0.1.6
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nonebot_plugin_envious-0.1.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logA 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.