nonebot-plugin-megumin


Namenonebot-plugin-megumin JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/youlanan/nonebot_plugin_megumin
Summary让你的群友们释放爆裂魔法吧!
upload_time2023-04-28 10:42:53
maintainer
docs_urlNone
author悠岚岸
requires_python>=3.8,<4.0
licenseMIT
keywords nonebot explosion
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/youlanan/nonebot_plugin_megumin/blob/main/img/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot_plugin_megumin

_✨ 为美好群聊献上爆炎 ✨_


<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">

</div>


## 🌱 介绍

_可以触发 以视频、或语音+文字 形式的爆裂魔法_

_自带刷屏屏蔽、可自定义释放与补魔次数_

_让群友领略最强魔法的艺术与魅力_

_爆裂魔法啦啦啦(⑅ōᴗō)۶..._

## 🔧 安装

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

    nb plugin install nonebot_plugin_megumin

</details>

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

<details>
<summary>pip</summary>

    pip install nonebot-plugin-megumin
</details>

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

    plugins = ["nonebot-plugin-megumin"]

</details>

<details>
<summary>下载 本仓库源码 安装</summary>

    下载后将 nonebot_plugin_megumin 丢进nb目录下的src/plugin目录下, 确保正确配置nb可以载入该目录内的插件

</details>

- 需要发送视频或语音, 所以请确保你安装并正确配置了ffmpeg
- 完成上述步骤后,下载项目' 爆炎资源包 '中的' Explosion.zip ', 按提示将资源放置在指定位置, 以完成安装
- 可供选择的触发形式为视频/语音/混合, 在项目的' cfg.py '文件中进行修改, 有对应注释说明

## ✨ 指令
### 指令表
| 指令 | 权限 | 指令前缀 | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| 爆裂魔法 | 群员 | 默认 | 群聊 | 常用触发指令 |
| 补魔 | 群员 | 默认 | 群聊私聊 | 刷新可触发次数 |
| 补魔帮助 | 群员 | 默认 | 群聊私聊 | 插件的帮助 |

注:如果给bot配置过指令前缀, 则触发指令为前缀+指令, 例如 /爆裂魔法
### 效果图
<img src="https://github.com/youlanan/nonebot_plugin_megumin/blob/main/img/help.png" width="300" height="700" alt="效果图">

## ⚡ 项目灵感
>伊雷娜bot曾经有的功能

>[借鉴了EXPLOSION-惠惠爆裂魔法语音](https://github.com/pcrbot/Explosion)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/youlanan/nonebot_plugin_megumin",
    "name": "nonebot-plugin-megumin",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "NoneBot,Explosion",
    "author": "\u60a0\u5c9a\u5cb8",
    "author_email": "",
    "download_url": "",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/youlanan/nonebot_plugin_megumin/blob/main/img/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot_plugin_megumin\n\n_\u2728 \u4e3a\u7f8e\u597d\u7fa4\u804a\u732e\u4e0a\u7206\u708e \u2728_\n\n\n<img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n\n</div>\n\n\n## \ud83c\udf31 \u4ecb\u7ecd\n\n_\u53ef\u4ee5\u89e6\u53d1 \u4ee5\u89c6\u9891\u3001\u6216\u8bed\u97f3+\u6587\u5b57 \u5f62\u5f0f\u7684\u7206\u88c2\u9b54\u6cd5_\n\n_\u81ea\u5e26\u5237\u5c4f\u5c4f\u853d\u3001\u53ef\u81ea\u5b9a\u4e49\u91ca\u653e\u4e0e\u8865\u9b54\u6b21\u6570_\n\n_\u8ba9\u7fa4\u53cb\u9886\u7565\u6700\u5f3a\u9b54\u6cd5\u7684\u827a\u672f\u4e0e\u9b45\u529b_\n\n_\u7206\u88c2\u9b54\u6cd5\u5566\u5566\u5566(\u2445\u014d\u1d17\u014d)\u06f6..._\n\n## \ud83d\udd27 \u5b89\u88c5\n\n<details>\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_megumin\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-megumin\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-megumin\"]\n\n</details>\n\n<details>\n<summary>\u4e0b\u8f7d \u672c\u4ed3\u5e93\u6e90\u7801 \u5b89\u88c5</summary>\n\n    \u4e0b\u8f7d\u540e\u5c06 nonebot_plugin_megumin \u4e22\u8fdbnb\u76ee\u5f55\u4e0b\u7684src/plugin\u76ee\u5f55\u4e0b, \u786e\u4fdd\u6b63\u786e\u914d\u7f6enb\u53ef\u4ee5\u8f7d\u5165\u8be5\u76ee\u5f55\u5185\u7684\u63d2\u4ef6\n\n</details>\n\n- \u9700\u8981\u53d1\u9001\u89c6\u9891\u6216\u8bed\u97f3, \u6240\u4ee5\u8bf7\u786e\u4fdd\u4f60\u5b89\u88c5\u5e76\u6b63\u786e\u914d\u7f6e\u4e86ffmpeg\n- \u5b8c\u6210\u4e0a\u8ff0\u6b65\u9aa4\u540e\uff0c\u4e0b\u8f7d\u9879\u76ee' \u7206\u708e\u8d44\u6e90\u5305 '\u4e2d\u7684' Explosion.zip ', \u6309\u63d0\u793a\u5c06\u8d44\u6e90\u653e\u7f6e\u5728\u6307\u5b9a\u4f4d\u7f6e, \u4ee5\u5b8c\u6210\u5b89\u88c5\n- \u53ef\u4f9b\u9009\u62e9\u7684\u89e6\u53d1\u5f62\u5f0f\u4e3a\u89c6\u9891/\u8bed\u97f3/\u6df7\u5408, \u5728\u9879\u76ee\u7684' cfg.py '\u6587\u4ef6\u4e2d\u8fdb\u884c\u4fee\u6539, \u6709\u5bf9\u5e94\u6ce8\u91ca\u8bf4\u660e\n\n## \u2728 \u6307\u4ee4\n### \u6307\u4ee4\u8868\n| \u6307\u4ee4 | \u6743\u9650 | \u6307\u4ee4\u524d\u7f00 | \u8303\u56f4 | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|:----:|\n| \u7206\u88c2\u9b54\u6cd5 | \u7fa4\u5458 | \u9ed8\u8ba4 | \u7fa4\u804a | \u5e38\u7528\u89e6\u53d1\u6307\u4ee4 |\n| \u8865\u9b54 | \u7fa4\u5458 | \u9ed8\u8ba4 | \u7fa4\u804a\u79c1\u804a | \u5237\u65b0\u53ef\u89e6\u53d1\u6b21\u6570 |\n| \u8865\u9b54\u5e2e\u52a9 | \u7fa4\u5458 | \u9ed8\u8ba4 | \u7fa4\u804a\u79c1\u804a | \u63d2\u4ef6\u7684\u5e2e\u52a9 |\n\n\u6ce8\uff1a\u5982\u679c\u7ed9bot\u914d\u7f6e\u8fc7\u6307\u4ee4\u524d\u7f00, \u5219\u89e6\u53d1\u6307\u4ee4\u4e3a\u524d\u7f00+\u6307\u4ee4, \u4f8b\u5982 /\u7206\u88c2\u9b54\u6cd5\n### \u6548\u679c\u56fe\n<img src=\"https://github.com/youlanan/nonebot_plugin_megumin/blob/main/img/help.png\" width=\"300\" height=\"700\" alt=\"\u6548\u679c\u56fe\">\n\n## \u26a1 \u9879\u76ee\u7075\u611f\n>\u4f0a\u96f7\u5a1cbot\u66fe\u7ecf\u6709\u7684\u529f\u80fd\n\n>[\u501f\u9274\u4e86EXPLOSION-\u60e0\u60e0\u7206\u88c2\u9b54\u6cd5\u8bed\u97f3](https://github.com/pcrbot/Explosion)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u8ba9\u4f60\u7684\u7fa4\u53cb\u4eec\u91ca\u653e\u7206\u88c2\u9b54\u6cd5\u5427\uff01",
    "version": "0.0.4",
    "split_keywords": [
        "nonebot",
        "explosion"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fddc1841e570e83c29bdf8131b04db091b9808024d1d847d0b29a3ffaf13f0e0",
                "md5": "fd3eb6a445dcd9a30742a1343b973405",
                "sha256": "b29067310bbf8eab59235923ca6bf7fb38086a8e06090127ed91ba820881b3e6"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_megumin-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd3eb6a445dcd9a30742a1343b973405",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 6261,
            "upload_time": "2023-04-28T10:42:53",
            "upload_time_iso_8601": "2023-04-28T10:42:53.848408Z",
            "url": "https://files.pythonhosted.org/packages/fd/dc/1841e570e83c29bdf8131b04db091b9808024d1d847d0b29a3ffaf13f0e0/nonebot_plugin_megumin-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-28 10:42:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "youlanan",
    "github_project": "nonebot_plugin_megumin",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "nonebot-plugin-megumin"
}
        
Elapsed time: 0.05934s