📣 前言
女生自用 99 新简易群管,管理员设置新方案,BOT 不再必须为群主才能设置管理员。
⭐ 安装
1.pip install nonebot-plugin-easy-group-manager
2.nb plugin install nonebot-plugin-easy-group-manager
3.Download zip
🛠️ 配置
| 配置 | 类型 | 示例 | 默认 | 说明 |
|---|---|---|---|---|
| admin_mode | int | admin_model=1 | 1 | 1 为调用 API,BOT 不需要为群主;2 为使用 Nonebot 框架,BOT 必须为群主 |
| skey | str | skey="xxx" | None | 获取看下文 |
| pskey | str | pskey="xxx" | None | 获取看下文 |
🎉 指令
| 指令 | 权限 | 说明 |
|---|---|---|
| 设置管理员 + @somebody | SUPERUSER/GROUP_OWNER | 设置一个管理员 |
| 取消管理员 + @somebody | SUPERUSER/GROUP_OWNER | 取消一个管理员 |
| 禁言/口球 + @somebody + 阿拉伯数字 | SUPERUSER/GROUP_OWNER/GROUP_ADMIN | 禁言某人,单位分钟,需要 BOT 为管理员 |
| 解禁 + @somebody | SUPERUSER/GROUP_OWNER/GROUP_ADMIN | 解除某人禁言,需要 BOT 为管理员 |
| 移出 + @somebody | SUPERUSER/GROUP_OWNER/GROUP_ADMIN | 移出某人,需要 BOT 为管理员 |
| 移出并拉黑 + @somebody | SUPERUSER/GROUP_OWNER/GROUP_ADMIN | 移出并拉黑,需要 BOT 为管理员 |
⚠️ 获取 skey 和 pskey
1、访问 https://qun.qq.com/, 并使用群主 QQ 号登录。
2、按 F12 并切换到 网络(Network) 视图。
skey= 和 p_skey= 后面的内容(不包括后面的分号)即为需要的 skey 和 pskey。
✨ FUTURE
- 分群设置不同的 skey 和 pskey
Metadata
Release files for nonebot-plugin-easy-group-manager 0.4.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_easy_group_manager-0.4.4.tar.gz | 6.7 kB | Without provenance | Details for nonebot_plugin_easy_group_manager-0.4.4.tar.gz |
Release files / nonebot_plugin_easy_group_manager-0.4.4.tar.gz
| Download URL | nonebot_plugin_easy_group_manager-0.4.4.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a7444eaba4ff792393bdf7b30a6bcadb7cfb7dc1eb1b0704c4ac5a9f2db524a
|
|
BLAKE2b-256 checksum How to use checksums |
64e12cf39fd5469d4d8f401a0a7980ed0a31211a747be78015959f0c8df07c6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for nonebot-plugin-easy-group-manager 0.4.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.