A NoneBot plugin for broadcasting messages to multiple group chats.
Project description
nonebot-plugin-broadcast
✨ NoneBot 插件,用于广播消息到多个群组 ✨
📖 介绍
nonebot-plugin-broadcast 是一个用于 NoneBot 的插件,帮助你将消息广播到多个群组。该插件支持灵活的配置和自定义广播内容。
💿 安装
使用 nb-cli 安装
在 NoneBot2 项目的根目录下打开命令行,输入以下指令即可安装:
nb plugin install nonebot-plugin-broadcast
使用包管理器安装
在 NoneBot2 项目的插件目录下,打开命令行,根据你使用的包管理器,输入相应的安装命令:
pip
pip install nonebot-plugin-broadcast
安装后,打开 NoneBot2 项目根目录下的 pyproject.toml 文件,在 [tool.nonebot] 部分追加写入:
plugins = ["nonebot_plugin_broadcast"]
⚙️ 配置
在 NoneBot2 项目的 .env.prod 文件中添加下表中的必填配置:
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| BROADCAST_GROUPS | 是 | 无 | 格式:BROADCAST_GROUPS=123456,114514,...... |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 广播 | 主人 | 否 | 群聊 | 开启广播流程 |
Project details
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_specify_broadcast-1.0.3.tar.gz.
File metadata
- Download URL: nonebot_plugin_specify_broadcast-1.0.3.tar.gz
- Upload date:
- Size: 45.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23aadd98536372e5c53021a64d57016031e630a9b652549669c0d593a7e6a87f
|
|
| MD5 |
fa09c5b039dbb3480476c0728990a579
|
|
| BLAKE2b-256 |
921236a5171c7f6080f28dad99e687e92730f11c3c5848c2753e3a2a352d5a93
|
File details
Details for the file nonebot_plugin_specify_broadcast-1.0.3-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_specify_broadcast-1.0.3-py3-none-any.whl
- Upload date:
- Size: 30.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
896c3cf008de15ce589880487cc8643a33efb3fd3e793388a6ae82187fbf1ab2
|
|
| MD5 |
1cd62cf051a22efbcf9908e43741c1b3
|
|
| BLAKE2b-256 |
cc9f51f5676fb205f8b6703072bd1e11939bbb1821f645c7a4b55a6810dd8b0c
|