Skip to main content
NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-Shutup

✨ 雪豹闭嘴 ✨

python pdm-managed QQ Chat Group
license pypi pypi download

使用

在群里艾特机器人+雪豹闭嘴 ,即可使机器人暂时屏蔽群内主动响应,任意适配器都可以使用。 ex

仅限主动信息响应屏蔽,如果是其他插件的主动信息功能是无法屏蔽的,例如定时任务

💿 安装

以下提到的方法 任选其一 即可

[推荐] 使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-shutup
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-shutup
pdm
pdm add nonebot-plugin-shutup
poetry
poetry add nonebot-plugin-shutup
conda
conda install nonebot-plugin-shutup

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入

[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_shutup"
]

⚙️ 配置

插件开箱即用,所有配置项皆为可选。请按需添加下面的配置项到 .env 文件中

配置项 必填 默认值 类型 说明
shutup_tome 否 True bool 是否需要艾特,设置为False则无需艾特
shutup_name 否 [] List[str] 需要名称,例如xx闭嘴,不设置则全部响应
shutup_time 否 10 int 闭嘴时间,单位分钟,设置为0则不限时间
shutup_permission int 0 int 3:超级管理员,2:群主+,1:群管理员+,0:全体

不建议

不建议和以下插件混用,因为功能重复

其他

Metadata

Release files for nonebot-plugin-shutup 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-shutup 0.1.0
File Size Uploaded
nonebot_plugin_shutup-0.1.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-shutup 0.1.0
File Interpreter ABI Platform
nonebot_plugin_shutup-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / nonebot_plugin_shutup-0.1.0.tar.gz

Download URL nonebot_plugin_shutup-0.1.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dc9085204c0822da9b03ff7df089015a8e2619295c7d063a2c3b090961345b04
BLAKE2b-256 checksum
How to use checksums
08b0e9f179e0d317d28aef4c0045960dfe637ea4c7f1f4cf79036d7f0e37a1ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.20.0.post1 CPython/3.10.12 Linux/6.5.0-1025-azure

Release files / nonebot_plugin_shutup-0.1.0-py3-none-any.whl

Download URL nonebot_plugin_shutup-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07526ce8219b18c6bd28d263db677b7851d0ccbf5b367745b4bacfbb8c29fff1
BLAKE2b-256 checksum
How to use checksums
379200874c49ca0f43dfa69ede982f7690288d94be9939ed046ec7b63919ae55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.20.0.post1 CPython/3.10.12 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page