nonebot-plugin-auto-enter-group


Namenonebot-plugin-auto-enter-group JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/padoru233/nonebot-plugin-auto-enter-group
SummaryNoneBot2 加群自动审批
upload_time2024-12-25 14:16:20
maintainerNone
docs_urlNone
authorpadoru233
requires_python>=3.9
licenseNone
keywords nonebot2 nonebot-plugin-auto-enter-group
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/raw/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/raw/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-auto-enter-group

_✨ NoneBot2 加群自动审批 ✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/padoru233/nonebot-plugin-auto-enter-group.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-auto-enter-group">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-auto-enter-group.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

帮助管理员审核入群请求,退群自动记录拒绝入群

## 📖 介绍

在群内播报申请和审核状态,添加关键词后自动进行模糊匹配。  
可开启退群黑名单,自动拒绝退群的人再次申请。

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-auto-enter-group

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-auto-enter-group
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-auto-enter-group
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-auto-enter-group
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-auto-enter-group
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_auto_enter_group"]

</details>

## ⚙️ 配置

无配置项,涉及到群管需用命令进行配置
插件数据存储在目录 ``~/.local/share/nonebot2/nonebot_plugin_auto_enter_group``

## 🎉 使用
### 指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| 查看关键词 | 群主/管理员/超级用户 | 否 | 群聊 | ———— |
| 添加/删除允许关键词 | 群主/管理员/超级用户 | 否 | 群聊 | <关键词> |
| 添加/删除拒绝关键词 | 群主/管理员/超级用户 | 否 | 群聊 | <关键词> |
| 启用/禁用退群黑名单 | 群主/管理员/超级用户 | 否 | 群聊 | ———— |

## 🌹 鸣谢

感谢 [大橘](https://github.com/zhiyu1998) 提供的代码,多写点让我抄抄!  
由于我不是代码相关专业,使用AI协助完成的代码


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/padoru233/nonebot-plugin-auto-enter-group",
    "name": "nonebot-plugin-auto-enter-group",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "nonebot2, nonebot-plugin-auto-enter-group",
    "author": "padoru233",
    "author_email": "wr15624916906@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a6/af/57766308fc8781d0b85714aca34bf1692467a368fffda29d786ec3e8b103/nonebot_plugin_auto_enter_group-0.2.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/raw/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/raw/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-auto-enter-group\n\n_\u2728 NoneBot2 \u52a0\u7fa4\u81ea\u52a8\u5ba1\u6279 \u2728_\n\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/padoru233/nonebot-plugin-auto-enter-group.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-auto-enter-group\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-auto-enter-group.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n\n</div>\n\n\u5e2e\u52a9\u7ba1\u7406\u5458\u5ba1\u6838\u5165\u7fa4\u8bf7\u6c42\uff0c\u9000\u7fa4\u81ea\u52a8\u8bb0\u5f55\u62d2\u7edd\u5165\u7fa4\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u5728\u7fa4\u5185\u64ad\u62a5\u7533\u8bf7\u548c\u5ba1\u6838\u72b6\u6001\uff0c\u6dfb\u52a0\u5173\u952e\u8bcd\u540e\u81ea\u52a8\u8fdb\u884c\u6a21\u7cca\u5339\u914d\u3002  \n\u53ef\u5f00\u542f\u9000\u7fa4\u9ed1\u540d\u5355\uff0c\u81ea\u52a8\u62d2\u7edd\u9000\u7fa4\u7684\u4eba\u518d\u6b21\u7533\u8bf7\u3002\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details open>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n    nb plugin install nonebot-plugin-auto-enter-group\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n    pip install nonebot-plugin-auto-enter-group\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-auto-enter-group\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-auto-enter-group\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-auto-enter-group\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n    plugins = [\"nonebot_plugin_auto_enter_group\"]\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u65e0\u914d\u7f6e\u9879\uff0c\u6d89\u53ca\u5230\u7fa4\u7ba1\u9700\u7528\u547d\u4ee4\u8fdb\u884c\u914d\u7f6e\n\u63d2\u4ef6\u6570\u636e\u5b58\u50a8\u5728\u76ee\u5f55 ``~/.local/share/nonebot2/nonebot_plugin_auto_enter_group``\n\n## \ud83c\udf89 \u4f7f\u7528\n### \u6307\u4ee4\u8868\n| \u6307\u4ee4 | \u6743\u9650 | \u9700\u8981@ | \u8303\u56f4 | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|:----:|\n| \u67e5\u770b\u5173\u952e\u8bcd | \u7fa4\u4e3b/\u7ba1\u7406\u5458/\u8d85\u7ea7\u7528\u6237 | \u5426 | \u7fa4\u804a | \u2014\u2014\u2014\u2014 |\n| \u6dfb\u52a0/\u5220\u9664\u5141\u8bb8\u5173\u952e\u8bcd | \u7fa4\u4e3b/\u7ba1\u7406\u5458/\u8d85\u7ea7\u7528\u6237 | \u5426 | \u7fa4\u804a | <\u5173\u952e\u8bcd> |\n| \u6dfb\u52a0/\u5220\u9664\u62d2\u7edd\u5173\u952e\u8bcd | \u7fa4\u4e3b/\u7ba1\u7406\u5458/\u8d85\u7ea7\u7528\u6237 | \u5426 | \u7fa4\u804a | <\u5173\u952e\u8bcd> |\n| \u542f\u7528/\u7981\u7528\u9000\u7fa4\u9ed1\u540d\u5355 | \u7fa4\u4e3b/\u7ba1\u7406\u5458/\u8d85\u7ea7\u7528\u6237 | \u5426 | \u7fa4\u804a | \u2014\u2014\u2014\u2014 |\n\n## \ud83c\udf39 \u9e23\u8c22\n\n\u611f\u8c22 [\u5927\u6a58](https://github.com/zhiyu1998) \u63d0\u4f9b\u7684\u4ee3\u7801\uff0c\u591a\u5199\u70b9\u8ba9\u6211\u6284\u6284\uff01  \n\u7531\u4e8e\u6211\u4e0d\u662f\u4ee3\u7801\u76f8\u5173\u4e13\u4e1a\uff0c\u4f7f\u7528AI\u534f\u52a9\u5b8c\u6210\u7684\u4ee3\u7801\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "NoneBot2 \u52a0\u7fa4\u81ea\u52a8\u5ba1\u6279",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/padoru233/nonebot-plugin-auto-enter-group",
        "Repository": "https://github.com/padoru233/nonebot-plugin-auto-enter-group"
    },
    "split_keywords": [
        "nonebot2",
        " nonebot-plugin-auto-enter-group"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62d01b27847fcefdd58c7d0cc78df30c95326d73a570c3c1d2d11cebea03a180",
                "md5": "7d4fcf9ffa734593f578001dc3b0c4cd",
                "sha256": "4db742c9df8143acbfc5285c89fb36637e8ca485141f442c554203c9d254edce"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_auto_enter_group-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7d4fcf9ffa734593f578001dc3b0c4cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 7252,
            "upload_time": "2024-12-25T14:16:18",
            "upload_time_iso_8601": "2024-12-25T14:16:18.702381Z",
            "url": "https://files.pythonhosted.org/packages/62/d0/1b27847fcefdd58c7d0cc78df30c95326d73a570c3c1d2d11cebea03a180/nonebot_plugin_auto_enter_group-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6af57766308fc8781d0b85714aca34bf1692467a368fffda29d786ec3e8b103",
                "md5": "1b55f0d6f37ebf7bd8b39b7b7fc0a71a",
                "sha256": "dcb35c1333bfd1aa8beb6c687a0d4c70e1b71812d70e1cd8d82024b91ad48fad"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_auto_enter_group-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1b55f0d6f37ebf7bd8b39b7b7fc0a71a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 6204,
            "upload_time": "2024-12-25T14:16:20",
            "upload_time_iso_8601": "2024-12-25T14:16:20.712006Z",
            "url": "https://files.pythonhosted.org/packages/a6/af/57766308fc8781d0b85714aca34bf1692467a368fffda29d786ec3e8b103/nonebot_plugin_auto_enter_group-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-25 14:16:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "padoru233",
    "github_project": "nonebot-plugin-auto-enter-group",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-auto-enter-group"
}
        
Elapsed time: 0.67016s