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.1.tar.gz
.
File metadata
- Download URL: nonebot_plugin_better_broadcast-1.0.1.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 | a6c24308144fe05a877de26481bf9ae91c6cbf6fac6229612c0111f82fe29203 |
|
MD5 | e737fb81c35291f010c13be347eb4c5b |
|
BLAKE2b-256 | 24ca5fc744a9282058707af1a3b152d559a99ec9e5de23fcf50715d6edcf92b7 |
File details
Details for the file nonebot_plugin_better_broadcast-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_better_broadcast-1.0.1-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 | c0e640984b54246cf0172409b1d692a556a89bc5a09c0d6709d0a2f39d44e840 |
|
MD5 | b0000b551199e79a08dca762251b8ff4 |
|
BLAKE2b-256 | f3199cba645f2aedb776e5d7264c28f9633921ffa306c2d06e8c26f795c63df2 |