NoneBot2 行为艺术插件, 有群友或私聊发送全是问号/感叹号的消息时, bot会自动把问号/感叹号方向翻转并发出来
Project description
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] # 白名单群聊,仅列表内群聊可能触发回复
图片示例
更新日志
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
Built Distribution
Close
Hashes for nonebot_plugin_questionmark-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400f5fec5e5c97cc0b3ca150786eef0d82704125c276c4af2732d1f7ccb21d86 |
|
MD5 | 7bd0db28a294467bf82e8a7a81c97e62 |
|
BLAKE2b-256 | b3791f008101d9d2f43ff970033c37d86a8209bd1a8d7641b2cbd1e7b90be8e2 |
Close
Hashes for nonebot_plugin_questionmark-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed700b8697fa81133783e775ab40e77f71e33b845c00cc0dbccb281c945a3a61 |
|
MD5 | b0077ac82fa1d0b57c663492f71733fe |
|
BLAKE2b-256 | bcf06584804922be9ac73df317b75bb231b3a9823cacf6dd2d38d78ce7e50ca9 |