Skip to main content

NoneBot2 行为艺术插件, 有群友或私聊发送全是问号/感叹号的消息时, bot会自动把问号/感叹号方向翻转并发出来

Project description

nonebot

Nonebot_Plugin_QuestionMark

✨ 基于OneBot适配器的NoneBot2行为艺术插件 ✨

功能

有群友或私聊发送全是问号?,¿或感叹号!,,¡的消息时, bot会自动把问号/感叹号翻转方向发出去

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_questionmark
  • 使用 pip
pip install -U nonebot_plugin_questionmark

配置项

QM_TRIGGER_RATE=0.3                # 触发回复概率,默认 0.3
QM_ENABLE_GROUPS=[12345, 114514, "all"]   # 白名单群聊,仅列表内群聊可能触发回复;当列表内为 "all" 时所有群聊均启用

图片示例

更新日志

2023-05-03 v0.4.1

2023-05-02 v0.4.0

  • 添加概率触发回复功能
  • 添加白名单群聊(仅qq可用)功能 @issue/3

2023-04-02 v0.3.1

  • 修bug

2023-03-29 v0.3.0

  • 优化实现

2023-03-27 v0.2.1

  • 优化实现
  • 添加感叹号

2023-03-26 v0.1.0

  • 发布

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_questionmark-0.4.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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