查询谁@了你或引用了你的消息
Project description
nonebot-plugin-whoasked
一个用于查询谁@了你或引用了你的消息的NoneBot2插件
功能
- 记录群聊中的@消息和引用消息
- 通过命令查询谁@了你或引用了你的消息
- 支持配置最大返回消息数量和消息存储天数
安装
使用nb-cli安装:
nb plugin install nonebot-plugin-whoasked
配置
在.env文件中添加以下配置(可选):
# 最大返回消息数量,默认20
WHOASKED_MAX_MESSAGES=20
# 消息存储天数,默认3
WHOASKED_STORAGE_DAYS=3
使用
在群聊中发送以下命令:
[!WARNING] 此处示例中的"/"为 nb 默认的命令开始标志,若您设置了另外的标志,则请使用您设置的标志作为命令的开头
- /谁问我了
注意事项
- 该插件代码基本由AI完成,如有更好的改进建议欢迎提交pr
- 目前仅使用了
OnebotV11适配器+Napcat,在Linux系统下测试通过,如有兼容性问题/其他适配器的运行情况欢迎提交issue
许可证
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_whoasked-0.1.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_whoasked-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.1 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a385fc97bbbf7be8fc0438a00ae28c3153051c5c1bb9d10d430c30afbec5a36
|
|
| MD5 |
c5bfe245552f34aecb9828a9fe103cfa
|
|
| BLAKE2b-256 |
64da5f9e6ffad4fabe7251cb6a3827ebc10b07fc9abd35030640ed06fdaf6274
|
File details
Details for the file nonebot_plugin_whoasked-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_whoasked-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.1 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d58f19569eeb155137a19b4d67b11983efa40d92bd363b7b1828918e87e9cfa8
|
|
| MD5 |
7623348812090ce804012ae31870f48d
|
|
| BLAKE2b-256 |
9093903a64c8af97d800d394956e89cbd598c5aba65a11c989e72c4efc38ee09
|