<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_fuck
_✨ NoneBot 机器人攻击群友插件 ✨_<br>
_(本插件仅限onebot v11)_
</div>
<p align="center">
<a href="https://raw.githubusercontent.com/cscs181/QQ-Github-Bot/master/LICENSE">
<img src="https://img.shields.io/github/license/cscs181/QQ-Github-Bot.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-analysis-bilibili">
<img src="https://img.shields.io/pypi/v/nonebot-plugin-analysis-bilibili.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
</p>
## 使用方式
* 直接在群里正常聊天,即可随机被机器人骂
* 发送“骂我”,直接被机器人骂
* 发送“插入脏话XXX”可向文件中插入脏话
* 发送“骂他@XXX”,BOT将@此人并进行辱骂
## 额外配置项
在配置文件中加入(需要什么加什么)
```
# 是否开启本插件
fuck = true # 默认为False
# 100%攻击对象(发送消息必攻击)
fuck_user = ['']
# 开启群组
fuck_group = []
# 免骂用户
fuck_white = ['']
# 随机概率
random = #默认0.10(1%)
```
## 安装
1. 使用 pip 安装和更新,初次安装需要手动添加入口 (新版默认不带 bot.py 文件)
```
pip install --upgrade nonebot_plugin_fuck
```
pip 安装后在 Nonebot2 入口文件(例如 bot.py )增加:
```python
nonebot.load_plugin("nonebot_plugin_fuck")
```
## TODO-LIST
- [x] 增加“骂他”功能
- [x] 增加“免骂”功能
Raw data
{
"_id": null,
"home_page": "https://github.com/YTSakura233/nonebot_plugin_fuck",
"name": "nonebot-plugin-fuck",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "nonebot, nonebot2, bilibili",
"author": "YTSakura",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/68/31/e0e50240397c70a1198b678e9659fb71304609c821ae5cf559a657fba0bd/nonebot_plugin_fuck-1.2.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://v2.nonebot.dev/\"><img src=\"https://v2.nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# nonebot_plugin_fuck\n\n_\u2728 NoneBot \u673a\u5668\u4eba\u653b\u51fb\u7fa4\u53cb\u63d2\u4ef6 \u2728_<br>\n_(\u672c\u63d2\u4ef6\u4ec5\u9650onebot v11)_\n\n</div>\n\n<p align=\"center\">\n <a href=\"https://raw.githubusercontent.com/cscs181/QQ-Github-Bot/master/LICENSE\">\n <img src=\"https://img.shields.io/github/license/cscs181/QQ-Github-Bot.svg\" alt=\"license\">\n </a>\n <a href=\"https://pypi.python.org/pypi/nonebot-plugin-analysis-bilibili\">\n <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-analysis-bilibili.svg\" alt=\"pypi\">\n </a>\n <img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n</p>\n\n## \u4f7f\u7528\u65b9\u5f0f\n\n* \u76f4\u63a5\u5728\u7fa4\u91cc\u6b63\u5e38\u804a\u5929\uff0c\u5373\u53ef\u968f\u673a\u88ab\u673a\u5668\u4eba\u9a82\n* \u53d1\u9001\u201c\u9a82\u6211\u201d\uff0c\u76f4\u63a5\u88ab\u673a\u5668\u4eba\u9a82\n* \u53d1\u9001\u201c\u63d2\u5165\u810f\u8bddXXX\u201d\u53ef\u5411\u6587\u4ef6\u4e2d\u63d2\u5165\u810f\u8bdd\n* \u53d1\u9001\u201c\u9a82\u4ed6@XXX\u201d\uff0cBOT\u5c06@\u6b64\u4eba\u5e76\u8fdb\u884c\u8fb1\u9a82\n\n## \u989d\u5916\u914d\u7f6e\u9879\n\n\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u52a0\u5165(\u9700\u8981\u4ec0\u4e48\u52a0\u4ec0\u4e48)\n\n```\n# \u662f\u5426\u5f00\u542f\u672c\u63d2\u4ef6\nfuck = true # \u9ed8\u8ba4\u4e3aFalse\n# 100%\u653b\u51fb\u5bf9\u8c61\uff08\u53d1\u9001\u6d88\u606f\u5fc5\u653b\u51fb\uff09\nfuck_user = [''] \n# \u5f00\u542f\u7fa4\u7ec4\nfuck_group = []\n# \u514d\u9a82\u7528\u6237\nfuck_white = ['']\n# \u968f\u673a\u6982\u7387\nrandom = #\u9ed8\u8ba40.10(1%)\n```\n\n## \u5b89\u88c5\n\n\n1. \u4f7f\u7528 pip \u5b89\u88c5\u548c\u66f4\u65b0\uff0c\u521d\u6b21\u5b89\u88c5\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u5165\u53e3 \uff08\u65b0\u7248\u9ed8\u8ba4\u4e0d\u5e26 bot.py \u6587\u4ef6\uff09\n\n```\npip install --upgrade nonebot_plugin_fuck\n```\n\npip \u5b89\u88c5\u540e\u5728 Nonebot2 \u5165\u53e3\u6587\u4ef6\uff08\u4f8b\u5982 bot.py \uff09\u589e\u52a0\uff1a\n\n```python\nnonebot.load_plugin(\"nonebot_plugin_fuck\")\n```\n\n## TODO-LIST\n\n- [x] \u589e\u52a0\u201c\u9a82\u4ed6\u201d\u529f\u80fd\n- [x] \u589e\u52a0\u201c\u514d\u9a82\u201d\u529f\u80fd\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "NoneBot \u673a\u5668\u4eba\u653b\u51fb\u7fa4\u53cb\u63d2\u4ef6",
"version": "1.2.1",
"project_urls": {
"Homepage": "https://github.com/YTSakura233/nonebot_plugin_fuck",
"Repository": "https://github.com/YTSakura233/nonebot_plugin_fuck"
},
"split_keywords": [
"nonebot",
" nonebot2",
" bilibili"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "81b5fafa1a2f339f4f1197a78eeaffdf5dc5235a9dae28e429c6dcb6574ce64e",
"md5": "e53e2d64407da502eb974adf68620485",
"sha256": "379b26142a1f56b3edaabd4cc1d0537e1a404b35744a6dee3e75bf0059f6b9e1"
},
"downloads": -1,
"filename": "nonebot_plugin_fuck-1.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e53e2d64407da502eb974adf68620485",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 140617,
"upload_time": "2025-01-06T10:00:57",
"upload_time_iso_8601": "2025-01-06T10:00:57.368184Z",
"url": "https://files.pythonhosted.org/packages/81/b5/fafa1a2f339f4f1197a78eeaffdf5dc5235a9dae28e429c6dcb6574ce64e/nonebot_plugin_fuck-1.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6831e0e50240397c70a1198b678e9659fb71304609c821ae5cf559a657fba0bd",
"md5": "bda111d9ee6990d749e5c90f00ed345c",
"sha256": "b91ca924a2c9c948fc4f56562d4a0a2764f5a5c14c01be90683eb04870ba7ef0"
},
"downloads": -1,
"filename": "nonebot_plugin_fuck-1.2.1.tar.gz",
"has_sig": false,
"md5_digest": "bda111d9ee6990d749e5c90f00ed345c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 139914,
"upload_time": "2025-01-06T10:01:00",
"upload_time_iso_8601": "2025-01-06T10:01:00.394664Z",
"url": "https://files.pythonhosted.org/packages/68/31/e0e50240397c70a1198b678e9659fb71304609c821ae5cf559a657fba0bd/nonebot_plugin_fuck-1.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-06 10:01:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "YTSakura233",
"github_project": "nonebot_plugin_fuck",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot-plugin-fuck"
}