Skip to main content

查询谁@了你或引用了你的消息

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_whoasked-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_whoasked-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_whoasked-0.1.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_whoasked-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Windows/11

File hashes

Hashes for nonebot_plugin_whoasked-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cda835bc1236fd3182ac32e75857c8c9c3d8f0b7f5cd9f1883e12cd8c5aeb0fd
MD5 f7760d54fb4b992b3dbd9afce8f6175a
BLAKE2b-256 4fcbdac81f4d16c8e7e6ce6278909d6a94eb97ce26e5c3582e042b53ff018a3e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_whoasked-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_whoasked-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1853d43fa6c9a566d1ba2c40e7efffa294586d9b02aa2a1a827e6153687e4553
MD5 d48e73d9d2bea44aafb60548cd9150e2
BLAKE2b-256 fa66ff5668a2fe9d9f2585451d804b02d6929f657b1059e037bdcecd52dfab4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page