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 details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_questionmark-0.4.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_questionmark-0.4.1.tar.gz
Algorithm Hash digest
SHA256 71b5437665ef2adf14c74c380060afb9db50764cb3461b7b47103e6086393ae8
MD5 a2b399c9fb1e80273e21b9e231177cd1
BLAKE2b-256 e55c4118c092887c86ac8dcd8e3ef1d307eaa8be43d3900dc4e7090181769a95

See more details on using hashes here.

File details

Details for the file nonebot_plugin_questionmark-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_questionmark-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c30cf0c4f6cc0cb8a9256c23f2fde29b68791b938bda1d2b439b46ae06e035
MD5 bb36cb0c2e27e4dcc5484dd9a7a71d28
BLAKE2b-256 83dee96184ff3157ce6c7aefc6ed120b3748408871b4c7b069f0ac512dfa4d9c

See more details on using hashes here.

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