Skip to main content

nonebot2 plugin, boardcast your message to every groups

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-better-broadcast

✨ 将你的信息广播到所有群聊,支持多种类型 ✨

license pypi python

📖 介绍

将你的信息广播到所有群聊,支持多种类型

💿 安装

使用 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)

  • 🧋添加了“撤回广播”指令和取消广播,更改了插件信息

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_better_broadcast-1.0.6.tar.gz (16.6 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_better_broadcast-1.0.6.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_better_broadcast-1.0.6.tar.gz
Algorithm Hash digest
SHA256 60a93741cf2e17bcb754e72fa9e4f9ff794233df73c9867fc3b133a51ba5446e
MD5 a8679d57e022096db27f726b4625f23c
BLAKE2b-256 0172f235d38235b536c72b0fdc43dff0efc675cea686656eac658bdb3a60ac74

See more details on using hashes here.

File details

Details for the file nonebot_plugin_better_broadcast-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_better_broadcast-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 995941d02008de27ee95930f5c4f256226f1d5e1105322b1909464ed3307b2da
MD5 0334592a2b38bb82dca37bbcc1fe1f0a
BLAKE2b-256 884ded0175cc528d673572c14861b176ba191922dd7d8d573a351b28ea00c04f

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