Skip to main content

极致的禁言猫猫 - 功能强大的QQ群禁言插件

Project description

nonebot-plugin-mute-cat

🐱 极致的禁言猫猫

✨ 功能强大的QQ群禁言插件,带有可爱的猫娘语气 ✨

📖 介绍

这是一个功能完善的QQ群禁言插件,支持多种禁言方式,带有可爱的猫娘语气回复。

✨ 特性

  • 禁言成员 - 支持单个或多个成员禁言
  • 取消禁言 - 解除单个或多个成员的禁言
  • 全员禁言 - 支持永久禁言和定时禁言
  • 解禁全员 - 一键解除全员禁言和所有个人禁言
  • 禁我功能 - 随机禁言自己(1/3/5分钟或不禁言)
  • 定时禁言 - 支持多种时间格式
  • @开关 - 可配置是否需要@才能触发命令
  • 状态查看 - 查看当前谁被禁言、剩余时间
  • 持久化存储 - 重启后保留设置

📦 安装

使用 nb-cli(推荐)

nb plugin install nonebot-plugin-mute-cat

⚙️ 配置

无需额外配置,开箱即用!

🎮 使用说明

@开关(需要@机器人才能设置)

  • @机器人 开启at - 开启需要@模式
  • @机器人 关闭at - 关闭需要@模式

禁言命令

命令 说明
@机器人 禁言 @用户 禁言用户5分钟
@机器人 禁言 @用户 30 禁言30分钟
@机器人 禁言 @用户 1小时 禁言1小时
@机器人 禁言 @用户1 @用户2 5分钟 禁言多人

取消禁言

命令 说明
@机器人 取消 @用户 取消禁言
@机器人 解除 @用户 同上
@机器人 解禁 @用户 同上

全员禁言

命令 说明
@机器人 全员禁言 永久禁言
@机器人 全员禁言 5分钟 定时禁言5分钟

解禁全员

命令 说明
@机器人 解禁全员 解除全员禁言+所有个人禁言
@机器人 取消全员 同上
@机器人 解除所有人 同上

其他功能

命令 说明
@机器人 禁我 随机禁言自己
@机器人 查看状态 查看当前禁言状态
@机器人 帮助 查看帮助

📁 数据存储

插件会在 data/mute_plugin/ 目录下存储以下文件:

  • at_required.json - 各群的@开关状态
  • group_states.json - 群禁言状态

🔧 依赖

  • nonebot2 >= 2.0.0
  • nonebot-adapter-onebot >= 2.0.0
  • nonebot-plugin-apscheduler >= 0.2.0
  • pytz >= 2023.3

📄 开源协议

本项目使用 MIT 协议开源。

💖 致谢

感谢所有使用和支持本插件的小伙伴们~

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_mute_cat-1.0.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_mute_cat-1.0.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_mute_cat-1.0.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_mute_cat-1.0.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for nonebot_plugin_mute_cat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fd79683d6c05863150fe76446d8689d6aba6ef0b0ac6d8e21824fd6d7183fc7d
MD5 47ac372c1dcfdf92785b9b042a8ef79c
BLAKE2b-256 cc40c3e1e70fc249373107ef8030d0cd57a309fefe5e2fba5b04d53a6eb7393b

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mute_cat-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_mute_cat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0690bb1f6e709b6c274de3a019b2ab0ff3ac1a206bf8fa668e63a4ba8242ec3c
MD5 6b4f098f35ed46a9efac627a77d97b45
BLAKE2b-256 66f9cc9b98264f27e15bdf16a24b69baf587f4b50934ba8259b74ca1592fd6d5

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