nonebot-plugin-mute-cat 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nonebot_plugin_mute_cat-1.0.0/LICENCE +21 -0
- nonebot_plugin_mute_cat-1.0.0/PKG-INFO +141 -0
- nonebot_plugin_mute_cat-1.0.0/README.md +107 -0
- nonebot_plugin_mute_cat-1.0.0/nonebot_plugin_mute_cat/__init__.py +1223 -0
- nonebot_plugin_mute_cat-1.0.0/nonebot_plugin_mute_cat.egg-info/PKG-INFO +141 -0
- nonebot_plugin_mute_cat-1.0.0/nonebot_plugin_mute_cat.egg-info/SOURCES.txt +9 -0
- nonebot_plugin_mute_cat-1.0.0/nonebot_plugin_mute_cat.egg-info/dependency_links.txt +1 -0
- nonebot_plugin_mute_cat-1.0.0/nonebot_plugin_mute_cat.egg-info/requires.txt +4 -0
- nonebot_plugin_mute_cat-1.0.0/nonebot_plugin_mute_cat.egg-info/top_level.txt +1 -0
- nonebot_plugin_mute_cat-1.0.0/pyproject.toml +63 -0
- nonebot_plugin_mute_cat-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 binglang001
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nonebot-plugin-mute-cat
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: 极致的禁言猫猫 - 功能强大的QQ群禁言插件
|
|
5
|
+
Author-email: binglang <lianbingyu_v2@163.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: homepage, https://github.com/binglang001/nonebot-plugin-mute-cat
|
|
8
|
+
Project-URL: repository, https://github.com/binglang001/nonebot-plugin-mute-cat
|
|
9
|
+
Project-URL: documentation, https://github.com/binglang001/nonebot-plugin-mute-cat#readme
|
|
10
|
+
Keywords: nonebot,nonebot2,qq,mute,ban,猫娘,禁言
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Natural Language :: Chinese (Simplified)
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Communications :: Chat
|
|
23
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
25
|
+
Classifier: Topic :: Utilities
|
|
26
|
+
Requires-Python: <4.0,>=3.9
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENCE
|
|
29
|
+
Requires-Dist: nonebot2>=2.0.0
|
|
30
|
+
Requires-Dist: nonebot-adapter-onebot>=2.0.0
|
|
31
|
+
Requires-Dist: nonebot-plugin-apscheduler>=0.2.0
|
|
32
|
+
Requires-Dist: pytz>=2023.3
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
|
|
35
|
+
# nonebot-plugin-mute-cat
|
|
36
|
+
|
|
37
|
+
<div align="center">
|
|
38
|
+
|
|
39
|
+
# 🐱 极致的禁言猫猫
|
|
40
|
+
|
|
41
|
+
✨ 功能强大的QQ群禁言插件,带有可爱的猫娘语气 ✨
|
|
42
|
+
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
## 📖 介绍
|
|
46
|
+
|
|
47
|
+
这是一个功能完善的QQ群禁言插件,支持多种禁言方式,带有可爱的猫娘语气回复。
|
|
48
|
+
|
|
49
|
+
### ✨ 特性
|
|
50
|
+
|
|
51
|
+
- ✅ **禁言成员** - 支持单个或多个成员禁言
|
|
52
|
+
- ✅ **取消禁言** - 解除单个或多个成员的禁言
|
|
53
|
+
- ✅ **全员禁言** - 支持永久禁言和定时禁言
|
|
54
|
+
- ✅ **解禁全员** - 一键解除全员禁言和所有个人禁言
|
|
55
|
+
- ✅ **禁我功能** - 随机禁言自己(1/3/5分钟或不禁言)
|
|
56
|
+
- ✅ **定时禁言** - 支持多种时间格式
|
|
57
|
+
- ✅ **@开关** - 可配置是否需要@才能触发命令
|
|
58
|
+
- ✅ **状态查看** - 查看当前谁被禁言、剩余时间
|
|
59
|
+
- ✅ **持久化存储** - 重启后保留设置
|
|
60
|
+
|
|
61
|
+
## 📦 安装
|
|
62
|
+
|
|
63
|
+
### 使用 nb-cli(推荐)
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
nb plugin install nonebot-plugin-mute-cat
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## ⚙️ 配置
|
|
71
|
+
|
|
72
|
+
无需额外配置,开箱即用!
|
|
73
|
+
|
|
74
|
+
## 🎮 使用说明
|
|
75
|
+
|
|
76
|
+
### @开关(需要@机器人才能设置)
|
|
77
|
+
|
|
78
|
+
- `@机器人 开启at` - 开启需要@模式
|
|
79
|
+
- `@机器人 关闭at` - 关闭需要@模式
|
|
80
|
+
|
|
81
|
+
### 禁言命令
|
|
82
|
+
|
|
83
|
+
| 命令 | 说明 |
|
|
84
|
+
|------|------|
|
|
85
|
+
| `@机器人 禁言 @用户` | 禁言用户5分钟 |
|
|
86
|
+
| `@机器人 禁言 @用户 30` | 禁言30分钟 |
|
|
87
|
+
| `@机器人 禁言 @用户 1小时` | 禁言1小时 |
|
|
88
|
+
| `@机器人 禁言 @用户1 @用户2 5分钟` | 禁言多人 |
|
|
89
|
+
|
|
90
|
+
### 取消禁言
|
|
91
|
+
|
|
92
|
+
| 命令 | 说明 |
|
|
93
|
+
|------|------|
|
|
94
|
+
| `@机器人 取消 @用户` | 取消禁言 |
|
|
95
|
+
| `@机器人 解除 @用户` | 同上 |
|
|
96
|
+
| `@机器人 解禁 @用户` | 同上 |
|
|
97
|
+
|
|
98
|
+
### 全员禁言
|
|
99
|
+
|
|
100
|
+
| 命令 | 说明 |
|
|
101
|
+
|------|------|
|
|
102
|
+
| `@机器人 全员禁言` | 永久禁言 |
|
|
103
|
+
| `@机器人 全员禁言 5分钟` | 定时禁言5分钟 |
|
|
104
|
+
|
|
105
|
+
### 解禁全员
|
|
106
|
+
|
|
107
|
+
| 命令 | 说明 |
|
|
108
|
+
|------|------|
|
|
109
|
+
| `@机器人 解禁全员` | 解除全员禁言+所有个人禁言 |
|
|
110
|
+
| `@机器人 取消全员` | 同上 |
|
|
111
|
+
| `@机器人 解除所有人` | 同上 |
|
|
112
|
+
|
|
113
|
+
### 其他功能
|
|
114
|
+
|
|
115
|
+
| 命令 | 说明 |
|
|
116
|
+
|------|------|
|
|
117
|
+
| `@机器人 禁我` | 随机禁言自己 |
|
|
118
|
+
| `@机器人 查看状态` | 查看当前禁言状态 |
|
|
119
|
+
| `@机器人 帮助` | 查看帮助 |
|
|
120
|
+
|
|
121
|
+
## 📁 数据存储
|
|
122
|
+
|
|
123
|
+
插件会在 `data/mute_plugin/` 目录下存储以下文件:
|
|
124
|
+
|
|
125
|
+
- `at_required.json` - 各群的@开关状态
|
|
126
|
+
- `group_states.json` - 群禁言状态
|
|
127
|
+
|
|
128
|
+
## 🔧 依赖
|
|
129
|
+
|
|
130
|
+
- nonebot2 >= 2.0.0
|
|
131
|
+
- nonebot-adapter-onebot >= 2.0.0
|
|
132
|
+
- nonebot-plugin-apscheduler >= 0.2.0
|
|
133
|
+
- pytz >= 2023.3
|
|
134
|
+
|
|
135
|
+
## 📄 开源协议
|
|
136
|
+
|
|
137
|
+
本项目使用 MIT 协议开源。
|
|
138
|
+
|
|
139
|
+
## 💖 致谢
|
|
140
|
+
|
|
141
|
+
感谢所有使用和支持本插件的小伙伴们~
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# nonebot-plugin-mute-cat
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
# 🐱 极致的禁言猫猫
|
|
6
|
+
|
|
7
|
+
✨ 功能强大的QQ群禁言插件,带有可爱的猫娘语气 ✨
|
|
8
|
+
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
## 📖 介绍
|
|
12
|
+
|
|
13
|
+
这是一个功能完善的QQ群禁言插件,支持多种禁言方式,带有可爱的猫娘语气回复。
|
|
14
|
+
|
|
15
|
+
### ✨ 特性
|
|
16
|
+
|
|
17
|
+
- ✅ **禁言成员** - 支持单个或多个成员禁言
|
|
18
|
+
- ✅ **取消禁言** - 解除单个或多个成员的禁言
|
|
19
|
+
- ✅ **全员禁言** - 支持永久禁言和定时禁言
|
|
20
|
+
- ✅ **解禁全员** - 一键解除全员禁言和所有个人禁言
|
|
21
|
+
- ✅ **禁我功能** - 随机禁言自己(1/3/5分钟或不禁言)
|
|
22
|
+
- ✅ **定时禁言** - 支持多种时间格式
|
|
23
|
+
- ✅ **@开关** - 可配置是否需要@才能触发命令
|
|
24
|
+
- ✅ **状态查看** - 查看当前谁被禁言、剩余时间
|
|
25
|
+
- ✅ **持久化存储** - 重启后保留设置
|
|
26
|
+
|
|
27
|
+
## 📦 安装
|
|
28
|
+
|
|
29
|
+
### 使用 nb-cli(推荐)
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
nb plugin install nonebot-plugin-mute-cat
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## ⚙️ 配置
|
|
37
|
+
|
|
38
|
+
无需额外配置,开箱即用!
|
|
39
|
+
|
|
40
|
+
## 🎮 使用说明
|
|
41
|
+
|
|
42
|
+
### @开关(需要@机器人才能设置)
|
|
43
|
+
|
|
44
|
+
- `@机器人 开启at` - 开启需要@模式
|
|
45
|
+
- `@机器人 关闭at` - 关闭需要@模式
|
|
46
|
+
|
|
47
|
+
### 禁言命令
|
|
48
|
+
|
|
49
|
+
| 命令 | 说明 |
|
|
50
|
+
|------|------|
|
|
51
|
+
| `@机器人 禁言 @用户` | 禁言用户5分钟 |
|
|
52
|
+
| `@机器人 禁言 @用户 30` | 禁言30分钟 |
|
|
53
|
+
| `@机器人 禁言 @用户 1小时` | 禁言1小时 |
|
|
54
|
+
| `@机器人 禁言 @用户1 @用户2 5分钟` | 禁言多人 |
|
|
55
|
+
|
|
56
|
+
### 取消禁言
|
|
57
|
+
|
|
58
|
+
| 命令 | 说明 |
|
|
59
|
+
|------|------|
|
|
60
|
+
| `@机器人 取消 @用户` | 取消禁言 |
|
|
61
|
+
| `@机器人 解除 @用户` | 同上 |
|
|
62
|
+
| `@机器人 解禁 @用户` | 同上 |
|
|
63
|
+
|
|
64
|
+
### 全员禁言
|
|
65
|
+
|
|
66
|
+
| 命令 | 说明 |
|
|
67
|
+
|------|------|
|
|
68
|
+
| `@机器人 全员禁言` | 永久禁言 |
|
|
69
|
+
| `@机器人 全员禁言 5分钟` | 定时禁言5分钟 |
|
|
70
|
+
|
|
71
|
+
### 解禁全员
|
|
72
|
+
|
|
73
|
+
| 命令 | 说明 |
|
|
74
|
+
|------|------|
|
|
75
|
+
| `@机器人 解禁全员` | 解除全员禁言+所有个人禁言 |
|
|
76
|
+
| `@机器人 取消全员` | 同上 |
|
|
77
|
+
| `@机器人 解除所有人` | 同上 |
|
|
78
|
+
|
|
79
|
+
### 其他功能
|
|
80
|
+
|
|
81
|
+
| 命令 | 说明 |
|
|
82
|
+
|------|------|
|
|
83
|
+
| `@机器人 禁我` | 随机禁言自己 |
|
|
84
|
+
| `@机器人 查看状态` | 查看当前禁言状态 |
|
|
85
|
+
| `@机器人 帮助` | 查看帮助 |
|
|
86
|
+
|
|
87
|
+
## 📁 数据存储
|
|
88
|
+
|
|
89
|
+
插件会在 `data/mute_plugin/` 目录下存储以下文件:
|
|
90
|
+
|
|
91
|
+
- `at_required.json` - 各群的@开关状态
|
|
92
|
+
- `group_states.json` - 群禁言状态
|
|
93
|
+
|
|
94
|
+
## 🔧 依赖
|
|
95
|
+
|
|
96
|
+
- nonebot2 >= 2.0.0
|
|
97
|
+
- nonebot-adapter-onebot >= 2.0.0
|
|
98
|
+
- nonebot-plugin-apscheduler >= 0.2.0
|
|
99
|
+
- pytz >= 2023.3
|
|
100
|
+
|
|
101
|
+
## 📄 开源协议
|
|
102
|
+
|
|
103
|
+
本项目使用 MIT 协议开源。
|
|
104
|
+
|
|
105
|
+
## 💖 致谢
|
|
106
|
+
|
|
107
|
+
感谢所有使用和支持本插件的小伙伴们~
|