📖 介绍
基于 LLM 的卖若插件,使用智谱API
使用智谱的 GLM-4-Flash 进行检测,不消耗api余额
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令安装nb plugin install nonebot-plugin-sell-poor
pip安装
pip install nonebot-plugin-sell-poor
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_llm_jade"]
Github下载
手动克隆本仓库或直接下载压缩包,将里面的 nonebot_plugin_sell_poor 文件夹复制到 src/plugins 中,并安装以下依赖
httpx PyJWT
🔧配置项
必填项
#智谱清言的API Key
sell_poor_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
启用的群聊
sell_poor_group = ["123456789","987654321"]
非必填项
#触发的概率(默认为0.5)
sell_poor_probability = 0.5
# 卖若文案
sell_poor_text = "诶,还是太菜了,学不来,我也想有本领😭"
🖼️ 使用效果图
Metadata
Release files for nonebot-plugin-sell-poor 0.1.0
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 | |
|---|---|---|---|---|
| nonebot_plugin_sell_poor-0.1.0.tar.gz | 16.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_sell_poor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.0 kB
Release files / nonebot_plugin_sell_poor-0.1.0.tar.gz
| Download URL | nonebot_plugin_sell_poor-0.1.0.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6b3fcd0cce324a2ece2cbd4ad3cc41204eda4af60911c4c8b535e00c5a6b1f4
|
|
BLAKE2b-256 checksum How to use checksums |
55dbce318b6c77a791c41db4c8da58ccabbc42e0544a320f1383a9e5d15015aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nonebot_plugin_sell_poor-0.1.0-py3-none-any.whl
| Download URL | nonebot_plugin_sell_poor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81848fcc0f76a823f99b4c819da71a9d6650cd7ac6d07a0fe91894d0a3a4f334
|
|
BLAKE2b-256 checksum How to use checksums |
2ea4c6ffaac90c280405d4010cc99f04ac70a808bf778115f983bc0b4ab7befd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for nonebot-plugin-sell-poor 0.1.0
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.