现在,你的群友可以触发失传已久的爆裂魔法了!
Project description
nonebot_plugin_megumin
✨ 为美好群聊献上爆炎 ✨
【点此查看插件 v1 版本的介绍】
🌱 介绍
可以触发 以视频、或语音+文字 形式的爆裂魔法
自带刷屏屏蔽、可自定义释放与补魔次数
让群友领略最强魔法的艺术与魅力
爆裂魔法啦啦啦(⑅ōᴗō)۶...
🔧 安装
如果你认为旧版本插件更符合需求,请手动克隆项目到本地使用
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-megumin
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-megumin
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_megumin"]
下载源码安装
下载仓库源码后, 将 nonebot_plugin_megumin 丢进nb目录下的src/plugin目录下, 确保已正确配置nb可以载入该目录内的插件
- 需要发送视频或语音, 所以请确保你安装并正确配置了ffmpeg
- 完成上述步骤后,下载项目' 爆炎资源包 '中的' Explosion.zip ', 按提示将资源放置在指定位置, 以完成安装
- 可供选择的触发形式为视频/语音/混合, 在项目的' cfg.py '文件中进行修改, 有对应注释说明
✨ 指令
指令表
| 指令 | 权限 | 指令前缀 | 范围 | 说明 |
|---|---|---|---|---|
| 爆裂魔法 | 群员 | 默认 | 群聊 | 常用触发指令 |
| 补魔 | 群员 | 默认 | 群聊私聊 | 刷新可触发次数 |
| 补魔帮助 | 群员 | 默认 | 群聊私聊 | 插件的帮助 |
🌱 介绍
可以触发 以视频、或语音+文字 形式的爆裂魔法
可自定义玩家每日补魔极限与释放次数
让群友领略最强魔法的浪漫
(⑅ōᴗō)۶エクスプロージョン!...
🔧 安装
(如果你认为旧版本插件更符合需求,请手动克隆项目与对应资源到本地使用)
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-megumin
使用pip安装
pip install nonebot-plugin-megumin
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_megumin"]
下载源码安装
-
下载仓库源码后
-
将 nonebot_plugin_megumin 丢进nb目录下的src/plugin目录下
-
确保已正确配置nb可以载入该目录内的插件
- 需要发送视频或语音, 所以请确保你安装并正确配置了ffmpeg
✨ 指令
指令表
| 指令 | 权限 | 指令前缀 | 范围 | 说明 |
|---|---|---|---|---|
| 爆裂魔法帮助 explosion help | 群员 | 默认 | 群聊私聊 | 插件的帮助 |
| 爆裂魔法 explosion | 群员 | 默认 | 群聊私聊 | 常用触发指令 |
| 补魔 replenish | 群员 | 默认 | 群聊私聊 | 刷新可触发次数 |
注:如果给bot配置过指令前缀, 则触发指令为前缀+指令, 例如 /爆裂魔法
效果图
⚡ 项目灵感
伊雷娜bot曾经有的功能
(本人纯小白一枚, 如果感觉代码很乱或者出现各种问题纯属正常, 欢迎反馈纠错~)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_megumin-0.2.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_megumin-0.2.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cd2490e333bae65101bcccea39571903bf9984f843b603bf969c34db49f8e26
|
|
| MD5 |
5cdfae28233b9547f72b955227c1212a
|
|
| BLAKE2b-256 |
b62818058e31b2f9c798e9a904fe16f229572ea6bb0b517028e1be4e17dc8dae
|
File details
Details for the file nonebot_plugin_megumin-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_megumin-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c0191b229909968d62519839354f4196d4c1efc19a096bc9b702adf3aefafd7
|
|
| MD5 |
1987c79fb2c10623b51ecf2f68b1bac5
|
|
| BLAKE2b-256 |
6fa8d9cc9513200466a339f4f379a767ca921539e187e7039e278ae2083985d2
|