Skip to main content

A NoneBot plugin for broadcasting messages to multiple group chats.

Project description

NoneBotPluginLogo NoneBotPluginText

nonebot-plugin-broadcast

✨ NoneBot 插件,用于广播消息到多个群组 ✨

license pypi python

📖 介绍

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

nonebot_plugin_specify_broadcast-1.0.1.tar.gz (45.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_specify_broadcast-1.0.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_specify_broadcast-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2c8db392eb119d4ccb372c4dffd5486546240062b90ced4be2ac0af4b8c8547e
MD5 5e1e59e3549eeffc11e1b2a3c9ddd329
BLAKE2b-256 3c04644fbfbd42b94cf3911699ef0d9b4617007c2e7bcd1e68ce4559b1868155

See more details on using hashes here.

File details

Details for the file nonebot_plugin_specify_broadcast-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_specify_broadcast-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7320e67797188f959359a5c4c498ade31fc4259b5116e8a157892105d37479e6
MD5 3206ea5b541a24cc3ac6ab176f64ad32
BLAKE2b-256 81228de84bb2d50e19071e4c3a0665a061327f8d43b83d66b4e30121f1f275af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page