nonebot-plugin-eavesdropper


Namenonebot-plugin-eavesdropper JSON
Version 0.0.11 PyPI version JSON
download
home_pagehttps://github.com/tkgs0/nonebot-plugin-eavesdropper
SummaryEavesdropper in NoneBot2
upload_time2024-08-31 14:40:44
maintainerNone
docs_urlNone
author月ヶ瀬
requires_python<4.0,>=3.9
licenseMIT
keywords nonebot eavesdropper
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://raw.githubusercontent.com/tkgs0/nbpt/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://raw.githubusercontent.com/tkgs0/nbpt/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-eavesdropper

_✨ NoneBot 消息监听插件 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/tkgs0/nonebot-plugin-eavesdropper.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-eavesdropper">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-eavesdropper.svg" alt="pypi">
</a>
<a href="https://www.python.org">
    <img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
</a>
<a href="https://nonebot.dev">
    <img src="https://img.shields.io/badge/nonebot-2.3.1+-red.svg" alt="nonebot">
</a>
</a>
<a href="https://onebot.adapters.nonebot.dev">
    <img src="https://img.shields.io/badge/OneBot-11-black?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADxPgR5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxQTFRF////29vbr6+vAAAAk1hCcwAAAAR0Uk5T////AEAqqfQAAAKcSURBVHja7NrbctswDATQXfD//zlpO7FlmwAWIOnOtNaTM5JwDMa8E+PNFz7g3waJ24fviyDPgfhz8fHP39cBcBL9KoJbQUxjA2iYqHL3FAnvzhL4GtVNUcoSZe6eSHizBcK5LL7dBr2AUZlev1ARRHCljzRALIEog6H3U6bCIyqIZdAT0eBuJYaGiJaHSjmkYIZd+qSGWAQnIaz2OArVnX6vrItQvbhZJtVGB5qX9wKqCMkb9W7aexfCO/rwQRBzsDIsYx4AOz0nhAtWu7bqkEQBO0Pr+Ftjt5fFCUEbm0Sbgdu8WSgJ5NgH2iu46R/o1UcBXJsFusWF/QUaz3RwJMEgngfaGGdSxJkE/Yg4lOBryBiMwvAhZrVMUUvwqU7F05b5WLaUIN4M4hRocQQRnEedgsn7TZB3UCpRrIJwQfqvGwsg18EnI2uSVNC8t+0QmMXogvbPg/xk+Mnw/6kW/rraUlvqgmFreAA09xW5t0AFlHrQZ3CsgvZm0FbHNKyBmheBKIF2cCA8A600aHPmFtRB1XvMsJAiza7LpPog0UJwccKdzw8rdf8MyN2ePYF896LC5hTzdZqxb6VNXInaupARLDNBWgI8spq4T0Qb5H4vWfPmHo8OyB1ito+AysNNz0oglj1U955sjUN9d41LnrX2D/u7eRwxyOaOpfyevCWbTgDEoilsOnu7zsKhjRCsnD/QzhdkYLBLXjiK4f3UWmcx2M7PO21CKVTH84638NTplt6JIQH0ZwCNuiWAfvuLhdrcOYPVO9eW3A67l7hZtgaY9GZo9AFc6cryjoeFBIWeU+npnk/nLE0OxCHL1eQsc1IciehjpJv5mqCsjeopaH6r15/MrxNnVhu7tmcslay2gO2Z1QfcfX0JMACG41/u0RrI9QAAAABJRU5ErkJggg==" alt="onebot">
</a>

</div>

## 📖 介绍

转发指定会话消息给SUPERUSER

## 💿 安装

**nb-cli安装, 包管理器安装  二选一**

<details>
<summary>使用 nb-cli 安装 (暂未支持)</summary>

在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-eavesdropper

</details>

<details>
<summary>使用包管理器安装</summary>

在 nonebot2 项目的插件目录下, 打开命令行,

**根据你使用的包管理器, 输入相应的安装命令**

<details>
<summary>pip</summary>

    pip install nonebot-plugin-eavesdropper

</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-eavesdropper

</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-eavesdropper

</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-eavesdropper

</details>

打开 bot项目下的 `pyproject.toml` 文件,

在其 `plugins` 里加入 `nonebot_plugin_eavesdropper`

    plugins = ["nonebot_plugin_eavesdropper"]

</details>
</details>

## 🎉 使用

### 指令表

```
  监听私聊 qq qq1 qq2 ...
  监听群聊 qq qq1 qq2 ...
  监听私聊 all
  监听群聊 all
  取消监听私聊 qq qq1 qq2 ...
  取消监听群聊 qq qq1 qq2 ...
  取消监听私聊 all
  取消监听群聊 all

  查看监听列表

  传话私聊 qq XXXXXX
  传话群聊 qq XXXXXX
```

## TODO

- [ ] 转发消息至指定群聊
- [ ] 跨平台支持

## ⚠️ 注意事项

**本插件目前仅支持 nonebot2 + onebot.v11 的使用方式, 一切非此二者结合的使用方式造成的问题请自行探索解决, 或者使用其他插件**


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tkgs0/nonebot-plugin-eavesdropper",
    "name": "nonebot-plugin-eavesdropper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "nonebot, eavesdropper",
    "author": "\u6708\u30f6\u702c",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/57/a0/a4dabd51b13faaf0436683fd1c4c34579709c30a7c01b33a7b83b1ad3249/nonebot_plugin_eavesdropper-0.0.11.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://raw.githubusercontent.com/tkgs0/nbpt/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://raw.githubusercontent.com/tkgs0/nbpt/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-eavesdropper\n\n_\u2728 NoneBot \u6d88\u606f\u76d1\u542c\u63d2\u4ef6 \u2728_\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/tkgs0/nonebot-plugin-eavesdropper.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-eavesdropper\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-eavesdropper.svg\" alt=\"pypi\">\n</a>\n<a href=\"https://www.python.org\">\n    <img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n</a>\n<a href=\"https://nonebot.dev\">\n    <img src=\"https://img.shields.io/badge/nonebot-2.3.1+-red.svg\" alt=\"nonebot\">\n</a>\n</a>\n<a href=\"https://onebot.adapters.nonebot.dev\">\n    <img src=\"https://img.shields.io/badge/OneBot-11-black?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADxPgR5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxQTFRF////29vbr6+vAAAAk1hCcwAAAAR0Uk5T////AEAqqfQAAAKcSURBVHja7NrbctswDATQXfD//zlpO7FlmwAWIOnOtNaTM5JwDMa8E+PNFz7g3waJ24fviyDPgfhz8fHP39cBcBL9KoJbQUxjA2iYqHL3FAnvzhL4GtVNUcoSZe6eSHizBcK5LL7dBr2AUZlev1ARRHCljzRALIEog6H3U6bCIyqIZdAT0eBuJYaGiJaHSjmkYIZd+qSGWAQnIaz2OArVnX6vrItQvbhZJtVGB5qX9wKqCMkb9W7aexfCO/rwQRBzsDIsYx4AOz0nhAtWu7bqkEQBO0Pr+Ftjt5fFCUEbm0Sbgdu8WSgJ5NgH2iu46R/o1UcBXJsFusWF/QUaz3RwJMEgngfaGGdSxJkE/Yg4lOBryBiMwvAhZrVMUUvwqU7F05b5WLaUIN4M4hRocQQRnEedgsn7TZB3UCpRrIJwQfqvGwsg18EnI2uSVNC8t+0QmMXogvbPg/xk+Mnw/6kW/rraUlvqgmFreAA09xW5t0AFlHrQZ3CsgvZm0FbHNKyBmheBKIF2cCA8A600aHPmFtRB1XvMsJAiza7LpPog0UJwccKdzw8rdf8MyN2ePYF896LC5hTzdZqxb6VNXInaupARLDNBWgI8spq4T0Qb5H4vWfPmHo8OyB1ito+AysNNz0oglj1U955sjUN9d41LnrX2D/u7eRwxyOaOpfyevCWbTgDEoilsOnu7zsKhjRCsnD/QzhdkYLBLXjiK4f3UWmcx2M7PO21CKVTH84638NTplt6JIQH0ZwCNuiWAfvuLhdrcOYPVO9eW3A67l7hZtgaY9GZo9AFc6cryjoeFBIWeU+npnk/nLE0OxCHL1eQsc1IciehjpJv5mqCsjeopaH6r15/MrxNnVhu7tmcslay2gO2Z1QfcfX0JMACG41/u0RrI9QAAAABJRU5ErkJggg==\" alt=\"onebot\">\n</a>\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u8f6c\u53d1\u6307\u5b9a\u4f1a\u8bdd\u6d88\u606f\u7ed9SUPERUSER\n\n## \ud83d\udcbf \u5b89\u88c5\n\n**nb-cli\u5b89\u88c5, \u5305\u7ba1\u7406\u5668\u5b89\u88c5  \u4e8c\u9009\u4e00**\n\n<details>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5 (\u6682\u672a\u652f\u6301)</summary>\n\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-eavesdropper\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c,\n\n**\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-eavesdropper\n\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-eavesdropper\n\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-eavesdropper\n\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-eavesdropper\n\n</details>\n\n\u6253\u5f00 bot\u9879\u76ee\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6,\n\n\u5728\u5176 `plugins` \u91cc\u52a0\u5165 `nonebot_plugin_eavesdropper`\n\n    plugins = [\"nonebot_plugin_eavesdropper\"]\n\n</details>\n</details>\n\n## \ud83c\udf89 \u4f7f\u7528\n\n### \u6307\u4ee4\u8868\n\n```\n  \u76d1\u542c\u79c1\u804a qq qq1 qq2 ...\n  \u76d1\u542c\u7fa4\u804a qq qq1 qq2 ...\n  \u76d1\u542c\u79c1\u804a all\n  \u76d1\u542c\u7fa4\u804a all\n  \u53d6\u6d88\u76d1\u542c\u79c1\u804a qq qq1 qq2 ...\n  \u53d6\u6d88\u76d1\u542c\u7fa4\u804a qq qq1 qq2 ...\n  \u53d6\u6d88\u76d1\u542c\u79c1\u804a all\n  \u53d6\u6d88\u76d1\u542c\u7fa4\u804a all\n\n  \u67e5\u770b\u76d1\u542c\u5217\u8868\n\n  \u4f20\u8bdd\u79c1\u804a qq XXXXXX\n  \u4f20\u8bdd\u7fa4\u804a qq XXXXXX\n```\n\n## TODO\n\n- [ ] \u8f6c\u53d1\u6d88\u606f\u81f3\u6307\u5b9a\u7fa4\u804a\n- [ ] \u8de8\u5e73\u53f0\u652f\u6301\n\n## \u26a0\ufe0f \u6ce8\u610f\u4e8b\u9879\n\n**\u672c\u63d2\u4ef6\u76ee\u524d\u4ec5\u652f\u6301 nonebot2 + onebot.v11 \u7684\u4f7f\u7528\u65b9\u5f0f, \u4e00\u5207\u975e\u6b64\u4e8c\u8005\u7ed3\u5408\u7684\u4f7f\u7528\u65b9\u5f0f\u9020\u6210\u7684\u95ee\u9898\u8bf7\u81ea\u884c\u63a2\u7d22\u89e3\u51b3, \u6216\u8005\u4f7f\u7528\u5176\u4ed6\u63d2\u4ef6**\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Eavesdropper in NoneBot2",
    "version": "0.0.11",
    "project_urls": {
        "Homepage": "https://github.com/tkgs0/nonebot-plugin-eavesdropper",
        "Repository": "https://github.com/tkgs0/nonebot-plugin-eavesdropper"
    },
    "split_keywords": [
        "nonebot",
        " eavesdropper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "efc14bd241938b1f0f654a80c47ca9074ad9d44c1e6a0e3b9fb13621df3ca9ac",
                "md5": "fdb250b0280b710474dbe3a688b8d218",
                "sha256": "8f27849e179e8f65b80035d69d4ff59fcf2fe4a35f9ef0e6199ed84979a24b11"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_eavesdropper-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fdb250b0280b710474dbe3a688b8d218",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 7655,
            "upload_time": "2024-08-31T14:40:43",
            "upload_time_iso_8601": "2024-08-31T14:40:43.254181Z",
            "url": "https://files.pythonhosted.org/packages/ef/c1/4bd241938b1f0f654a80c47ca9074ad9d44c1e6a0e3b9fb13621df3ca9ac/nonebot_plugin_eavesdropper-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57a0a4dabd51b13faaf0436683fd1c4c34579709c30a7c01b33a7b83b1ad3249",
                "md5": "885c539612dd220e5c42a90c0d3a216c",
                "sha256": "0f4ad4fd24a75e4eaa86f275d12eb0be848e4d5c1e23f7331d7a3e2a3483bacc"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_eavesdropper-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "885c539612dd220e5c42a90c0d3a216c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 6764,
            "upload_time": "2024-08-31T14:40:44",
            "upload_time_iso_8601": "2024-08-31T14:40:44.157966Z",
            "url": "https://files.pythonhosted.org/packages/57/a0/a4dabd51b13faaf0436683fd1c4c34579709c30a7c01b33a7b83b1ad3249/nonebot_plugin_eavesdropper-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-31 14:40:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tkgs0",
    "github_project": "nonebot-plugin-eavesdropper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-eavesdropper"
}
        
Elapsed time: 0.86484s