Scan your whole stack
From OX Research Newsroom
Are you using nonebot-plugin-keyword-memes?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
nonebot-plugin-keyword-memes was last scanned on 30 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 30 Nov 2026 | No rules fired |
Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
关键词梗图:群聊里整句说出触发词,就随机发一张对应的表情包。
register_switch_checker 接入)nb plugin install nonebot-plugin-keyword-memes
# 或
pip install nonebot-plugin-keyword-memes
需要 nonebot-plugin-localstore(本插件已声明依赖)。
群里直接说出触发词即可,例如:
群友:男的来了
机器人:[表情包]
管理命令(默认命令名 梗,可配置):
| 命令 | 说明 | 权限 |
|---|---|---|
/梗 |
查看用法 | 所有人 |
/梗 列表 |
列出全部触发词、图片数量与别名 | 所有人 |
/梗 查看 <触发词> |
逐张预览,带序号 | 所有人 |
/梗 添加 <触发词> |
附一张图,或回复一条带图消息 | 默认超级用户 |
/梗 删除 <触发词> [序号] |
删单张;不带序号删整组 | 默认超级用户 |
/梗 别名 <触发词> <别名> |
加别名,两个写法共用同一批图(触发词不能含空格) | 默认超级用户 |
/梗 去别名 <触发词> <别名> |
取消别名,图片保留 | 默认超级用户 |
在 .env 中配置(前缀 KEYWORD_MEMES_):
| 配置项 | 默认值 | 说明 |
|---|---|---|
KEYWORD_MEMES_COMMAND |
梗 |
管理命令名 |
KEYWORD_MEMES_ALIASES |
["梗图"] |
管理命令别名 |
KEYWORD_MEMES_MATCH |
exact |
exact 整句相等;contains 包含即触发 |
KEYWORD_MEMES_COOLDOWN |
0 |
同一人同一群的触发冷却(秒) |
KEYWORD_MEMES_UPLOAD |
superuser |
superuser 仅超级用户;everyone 所有人 |
KEYWORD_MEMES_MAX_UPLOAD_BYTES |
8000000 |
单张上传大小上限 |
KEYWORD_MEMES_MAX_SEND_BYTES |
2500000 |
单张发送大小上限 |
KEYWORD_MEMES_PRIORITY |
9 |
触发响应器优先级 |
KEYWORD_MEMES_BLOCK |
false |
命中后是否阻止后续响应器 |
KEYWORD_MEMES_DATA_DIR |
空 | 自定义数据目录 |
插件本身不假设任何开关系统。规则里的 switch 字段会交给宿主注册的判定函数:
from nonebot_plugin_keyword_memes import register_switch_checker
@register_switch_checker
async def check_switch(group_id: int | None, switch: str) -> bool:
# 返回 False 表示本群关闭了这条规则;没有注册判定函数时一律视为开启
return my_feature_registry.is_enabled(group_id, switch)
<插件数据目录>/
├── rules.json # 规则:触发词/别名 → 图片文件名
└── images/
├── 1a2b3c4d5e6f7788.gif
└── ...
rules.json 示例:
{
"version": 1,
"rules": [
{
"id": "r-1a2b3c4d",
"triggers": ["男的来了", "男德"],
"images": ["1a2b3c4d5e6f7788.gif"],
"switch": "",
"cooldown": 0,
"enabled": true
}
]
}
python -m venv .venv
.venv/bin/pip install -e . pytest
.venv/bin/pytest
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.