nonebot_plugin_mute
✨ 唔唔?你想被禁言嘛~? ✨
📖 介绍
唔唔?你想被禁言嘛~?
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot_plugin_mute
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot_plugin_mute
pdm
pdm add nonebot_plugin_mute
poetry
poetry nonebot_plugin_mute
conda
conda install nonebot_plugin_mute
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_mute"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| MUTE_TIMES | 否 | [1, 5, 10, 30] | 禁言时间抽取列表,单位:分钟 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 禁我 | 群员 | 否 | 群聊 | 在mute_times中随机抽取一个时间进行禁言 |
效果图
Metadata
Release files for nonebot_plugin_mute 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_mute-0.2.4.tar.gz | 3.4 kB | Without provenance | Details for nonebot_plugin_mute-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_mute-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_mute-0.2.4-py3-none-any.whl |
Total release size: 8.0 kB
Release files / nonebot_plugin_mute-0.2.4.tar.gz
| Download URL | nonebot_plugin_mute-0.2.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2afcec3ae9c7e26259fed0d237dc63ac142ddf3aed759f5d69631ffb635e04f2
|
|
BLAKE2b-256 checksum How to use checksums |
22d904c8f0a93ee54fb34e15b5c6c5e087d85e80350b0834b3aab0353a362672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure
|
Release files / nonebot_plugin_mute-0.2.4-py3-none-any.whl
| Download URL | nonebot_plugin_mute-0.2.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86b5ef7bbce3b33fd7d15534c991a5060f524199a950ebb0e21c714311266b5c
|
|
BLAKE2b-256 checksum How to use checksums |
c68c9fee07159174861790e01bb23790fb277aad7033ba429e78686be7130380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure
|
Security for nonebot_plugin_mute 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.