nonebot2 plugin, boardcast your message to every groups
Project description
📖 介绍
将你的信息广播到所有群聊,支持多种类型
[!IMPORTANT] 如果需要广播聊天记录,请使用Napcat,因为使用了forward_group_single_msg接口(本人小白awa)
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-better-broadcast
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-better-broadcast
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_better_broadcast"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
bc_blacklist | 否 | 无 | 群聊黑名单,广播时将不会发送到这些群聊 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
发送广播 | 主人 | 否 | 私聊、群聊 | 顾名思义 |
效果图
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
File details
Details for the file nonebot_plugin_better_broadcast-1.0.3.tar.gz
.
File metadata
- Download URL: nonebot_plugin_better_broadcast-1.0.3.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.12 Linux/5.15.0-122-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dcc948485c1c6f83d7c2cf4f60248585f412ca5b8d3c5ab0f8aef5f9ed9b767 |
|
MD5 | e70f6acbfb8fcbdea3355dc5ddc98aaa |
|
BLAKE2b-256 | 007bc8a83552600b58def5a6d7d25998437bed49e54bea5c3fd230f5b138beee |
File details
Details for the file nonebot_plugin_better_broadcast-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_better_broadcast-1.0.3-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.12 Linux/5.15.0-122-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab9f231f20145ab319af10dcc02c24cada6d24d386e0090138da19d882a8f86 |
|
MD5 | 6a3cfc93748475c53d8f242d94dd26e6 |
|
BLAKE2b-256 | ef9a31ad4bf97f8f5889582d2ed3c755287f82edf85a084d1f097495f19d9667 |