📖 介绍
将你的消息广播到全部群聊中
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-broadcast
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-broadcast
pdm
pdm add nonebot-plugin-broadcast
poetry
poetry add nonebot-plugin-broadcast
conda
conda install nonebot-plugin-broadcast
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_broadcast')
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 广播/bc | 主人 | 否 | 私聊 | 将指令后接的消息广播到 bot 加入的全部群聊 |
Release files for nonebot-plugin-broadcast 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot-plugin-broadcast-0.1.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_broadcast-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / nonebot-plugin-broadcast-0.1.1.tar.gz
| Download URL | nonebot-plugin-broadcast-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7bc34c490c4663015e03d5b26479a75927be1002dae1772b95a4f9e65d209d3
|
|
BLAKE2b-256 checksum How to use checksums |
b7dc0216930b2d360da28e1e8fb5f36e0a2b815b9e0ff25f6332917fc2af3848
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / nonebot_plugin_broadcast-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_broadcast-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7328f294b921ea7f23304ef64b7c4b7151d8703ceb3c84d8a1715258c80ed5e3
|
|
BLAKE2b-256 checksum How to use checksums |
f3175791b58e082895133fcfb47f049a9a3b2205cca76eb3d93419b881a85f0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|