<p align="center">
<a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>
<div align="center">
# Nonebot_Plugin_QuestionMark
_✨ 基于OneBot适配器的[NoneBot2](https://v2.nonebot.dev/)行为艺术插件 ✨_
</div>
## 功能
有群友或私聊发送全是问号`?`,`?`或`¿`或感叹号`!`,`!`,`¡`的消息时, bot会自动把问号/感叹号翻转方向发出去
## 安装
- 使用 nb-cli
```
nb plugin install nonebot_plugin_questionmark
```
- 使用 pip
```
pip install -U nonebot_plugin_questionmark
```
## 配置项
```ini
QM_TRIGGER_RATE=0.3 # 触发回复概率,默认 0.3
QM_ENABLE_GROUPS=[12345, 114514, "all"] # 白名单群聊,仅列表内群聊可能触发回复;当列表内为 "all" 时所有群聊均启用
```
## 图片示例
<div align="left">
<img src="https://user-images.githubusercontent.com/52584526/227783077-b490dad2-5e1a-42eb-b455-53f381934497.png" width="500" />
</div>
## 更新日志
> 2023-05-03 v0.4.1
> - 优化白名单 [@issue/3](https://github.com/NumberSir/nonebot-plugin-questionmark/issues/3)
>
> 2023-05-02 v0.4.0
> - 添加概率触发回复功能
> - 添加白名单群聊(仅qq可用)功能 [@issue/3](https://github.com/NumberSir/nonebot-plugin-questionmark/issues/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
> - 发布
Raw data
{
"_id": null,
"home_page": "https://github.com/NumberSir/nonebot_plugin_questionmark",
"name": "nonebot-plugin-questionmark",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "pip,nonebot2,nonebot,nonebot_plugin",
"author": "Number_Sir",
"author_email": "Number_Sir@126.com",
"download_url": "https://files.pythonhosted.org/packages/e5/5c/4118c092887c86ac8dcd8e3ef1d307eaa8be43d3900dc4e7090181769a95/nonebot_plugin_questionmark-0.4.1.tar.gz",
"platform": "any",
"description": "<p align=\"center\">\r\n <a href=\"https://v2.nonebot.dev/\"><img src=\"https://v2.nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\r\n</p>\r\n\r\n<div align=\"center\">\r\n \r\n# Nonebot_Plugin_QuestionMark\r\n \r\n_\u2728 \u57fa\u4e8eOneBot\u9002\u914d\u5668\u7684[NoneBot2](https://v2.nonebot.dev/)\u884c\u4e3a\u827a\u672f\u63d2\u4ef6 \u2728_\r\n \r\n</div>\r\n\r\n## \u529f\u80fd\r\n\r\n\u6709\u7fa4\u53cb\u6216\u79c1\u804a\u53d1\u9001\u5168\u662f\u95ee\u53f7`?`,`\uff1f`\u6216`\u00bf`\u6216\u611f\u53f9\u53f7`!`,`\uff01`,`\u00a1`\u7684\u6d88\u606f\u65f6, bot\u4f1a\u81ea\u52a8\u628a\u95ee\u53f7/\u611f\u53f9\u53f7\u7ffb\u8f6c\u65b9\u5411\u53d1\u51fa\u53bb\r\n\r\n\r\n## \u5b89\u88c5\r\n\r\n- \u4f7f\u7528 nb-cli\r\n\r\n```\r\nnb plugin install nonebot_plugin_questionmark\r\n```\r\n\r\n- \u4f7f\u7528 pip\r\n\r\n```\r\npip install -U nonebot_plugin_questionmark\r\n```\r\n\r\n## \u914d\u7f6e\u9879\r\n```ini\r\nQM_TRIGGER_RATE=0.3 # \u89e6\u53d1\u56de\u590d\u6982\u7387\uff0c\u9ed8\u8ba4 0.3\r\nQM_ENABLE_GROUPS=[12345, 114514, \"all\"] # \u767d\u540d\u5355\u7fa4\u804a\uff0c\u4ec5\u5217\u8868\u5185\u7fa4\u804a\u53ef\u80fd\u89e6\u53d1\u56de\u590d\uff1b\u5f53\u5217\u8868\u5185\u4e3a \"all\" \u65f6\u6240\u6709\u7fa4\u804a\u5747\u542f\u7528\r\n```\r\n\r\n## \u56fe\u7247\u793a\u4f8b\r\n\r\n<div align=\"left\">\r\n <img src=\"https://user-images.githubusercontent.com/52584526/227783077-b490dad2-5e1a-42eb-b455-53f381934497.png\" width=\"500\" />\r\n</div>\r\n\r\n## \u66f4\u65b0\u65e5\u5fd7\r\n> 2023-05-03 v0.4.1\r\n> - \u4f18\u5316\u767d\u540d\u5355 [@issue/3](https://github.com/NumberSir/nonebot-plugin-questionmark/issues/3)\r\n>\r\n> 2023-05-02 v0.4.0\r\n> - \u6dfb\u52a0\u6982\u7387\u89e6\u53d1\u56de\u590d\u529f\u80fd\r\n> - \u6dfb\u52a0\u767d\u540d\u5355\u7fa4\u804a(\u4ec5qq\u53ef\u7528)\u529f\u80fd [@issue/3](https://github.com/NumberSir/nonebot-plugin-questionmark/issues/3)\r\n> \r\n> 2023-04-02 v0.3.1\r\n> - \u4feebug\r\n> \r\n> 2023-03-29 v0.3.0\r\n> - \u4f18\u5316\u5b9e\u73b0\r\n>\r\n> 2023-03-27 v0.2.1\r\n> - \u4f18\u5316\u5b9e\u73b0\r\n> - \u6dfb\u52a0\u611f\u53f9\u53f7\r\n> \r\n> 2023-03-26 v0.1.0\r\n> - \u53d1\u5e03\r\n",
"bugtrack_url": null,
"license": "",
"summary": "NoneBot2 \u884c\u4e3a\u827a\u672f\u63d2\u4ef6, \u6709\u7fa4\u53cb\u6216\u79c1\u804a\u53d1\u9001\u5168\u662f\u95ee\u53f7/\u611f\u53f9\u53f7\u7684\u6d88\u606f\u65f6, bot\u4f1a\u81ea\u52a8\u628a\u95ee\u53f7/\u611f\u53f9\u53f7\u65b9\u5411\u7ffb\u8f6c\u5e76\u53d1\u51fa\u6765",
"version": "0.4.1",
"project_urls": {
"Homepage": "https://github.com/NumberSir/nonebot_plugin_questionmark"
},
"split_keywords": [
"pip",
"nonebot2",
"nonebot",
"nonebot_plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "83dee96184ff3157ce6c7aefc6ed120b3748408871b4c7b069f0ac512dfa4d9c",
"md5": "bb36cb0c2e27e4dcc5484dd9a7a71d28",
"sha256": "d6c30cf0c4f6cc0cb8a9256c23f2fde29b68791b938bda1d2b439b46ae06e035"
},
"downloads": -1,
"filename": "nonebot_plugin_questionmark-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb36cb0c2e27e4dcc5484dd9a7a71d28",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 4284,
"upload_time": "2023-05-03T08:15:01",
"upload_time_iso_8601": "2023-05-03T08:15:01.898492Z",
"url": "https://files.pythonhosted.org/packages/83/de/e96184ff3157ce6c7aefc6ed120b3748408871b4c7b069f0ac512dfa4d9c/nonebot_plugin_questionmark-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e55c4118c092887c86ac8dcd8e3ef1d307eaa8be43d3900dc4e7090181769a95",
"md5": "a2b399c9fb1e80273e21b9e231177cd1",
"sha256": "71b5437665ef2adf14c74c380060afb9db50764cb3461b7b47103e6086393ae8"
},
"downloads": -1,
"filename": "nonebot_plugin_questionmark-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "a2b399c9fb1e80273e21b9e231177cd1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3742,
"upload_time": "2023-05-03T08:15:04",
"upload_time_iso_8601": "2023-05-03T08:15:04.005864Z",
"url": "https://files.pythonhosted.org/packages/e5/5c/4118c092887c86ac8dcd8e3ef1d307eaa8be43d3900dc4e7090181769a95/nonebot_plugin_questionmark-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-03 08:15:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NumberSir",
"github_project": "nonebot_plugin_questionmark",
"github_not_found": true,
"lcname": "nonebot-plugin-questionmark"
}