📖 介绍
将你的信息广播到所有群聊,支持多种类型
💿 安装
使用 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 | list | 否 | [ ] | 群聊黑名单,广播时将不会发送到这些群聊 |
| bc_random_delay | bool | 否 | 是 | 随机延迟,发送广播时将会有随机1-3秒的延迟 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 发送广播 | 主人 | 否 | 私聊、群聊 | 顾名思义 |
| 撤回广播 | 主人 | 否 | 私聊、群聊 | 撤回上一条广播的消息 |
效果图
📃 更新日志
1.0.6(2025.01.01)
- 🍟修复了一些问题
1.0.5(2025.01.01)
- 🍟修复了一些问题
1.0.4(2024.11.15)
- 🧋添加了“撤回广播”指令和取消广播,更改了插件信息
Metadata
Release files for nonebot-plugin-better-broadcast 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_better_broadcast-1.0.6.tar.gz | 16.6 kB | Without provenance | Details for nonebot_plugin_better_broadcast-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_better_broadcast-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_better_broadcast-1.0.6-py3-none-any.whl |
Total release size: 33.4 kB
Release files / nonebot_plugin_better_broadcast-1.0.6.tar.gz
| Download URL | nonebot_plugin_better_broadcast-1.0.6.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60a93741cf2e17bcb754e72fa9e4f9ff794233df73c9867fc3b133a51ba5446e
|
|
BLAKE2b-256 checksum How to use checksums |
0172f235d38235b536c72b0fdc43dff0efc675cea686656eac658bdb3a60ac74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.12 Linux/5.15.0-122-generic
|
Release files / nonebot_plugin_better_broadcast-1.0.6-py3-none-any.whl
| Download URL | nonebot_plugin_better_broadcast-1.0.6-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
995941d02008de27ee95930f5c4f256226f1d5e1105322b1909464ed3307b2da
|
|
BLAKE2b-256 checksum How to use checksums |
884ded0175cc528d673572c14861b176ba191922dd7d8d573a351b28ea00c04f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.12 Linux/5.15.0-122-generic
|
Security for nonebot-plugin-better-broadcast 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.