nonebot2 plugin for group administration
Project description
简易群管
✨ NoneBot2 简易群管 ✨_
踢 改 禁.......
欢迎 issue pr
权限说明:见下方指令↓
安装💿
pip install nonebot-plugin-admin
更新
pip install --upgrade nonebot-plugin-admin
导入📲
在bot.py 导入,语句:
nonebot.load_plugin("nonebot_plugin_admin")
指令💻
【初始化:
/spinit
【加群自动审批】:
群内发送 permission=GROUP_ADMIN | GROUP_OWNER | SUPERUSER
/审批 查看本群审批词条 或/sp
/审批+ [词条]增加审批词条 或/sp+
/审批- [词条]删除审批词条 或/sp-
【superuser】:
/susp 查看所有审批词条 或/su审批
/susp+ [群号] [词条]增加指定群审批词条 或/sp审批+
/susp- [群号] [词条]删除指定群审批词条 或/sp审批-
自动审批处理结果将发送给superuser
【群管】:
权限:permission=SUPERUSER
禁言:
/禁 @某人 时间(s)[1,2591999]
/禁 @某人 缺省时间则随机
/禁 @某人 0 可解禁
/解 @某人
全群禁言(好像没用?)
/all
/all 解
改名片
/改 @某人 名片
改头衔(又没用?)
/头衔 @某人 头衔
/删头衔
踢出:
/踢 @某人
提出并拉黑:
/黑 @某人
给个star吧~
截图🖼
暂无
更新
0.1.0 issue#1
支持入群自动审批
支持在线对不同群的关键词进行增减操作
0.0.1-4
支持 踢 、禁 、改 、头衔
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot-plugin-admin-0.1.9.tar.gz
.
File metadata
- Download URL: nonebot-plugin-admin-0.1.9.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6d5bdff8ece3702a57a82ed915ff4da8a9adf0019b563377fd758cf7a0e836 |
|
MD5 | 8d053f7f3c19861d97778d1db28c6e28 |
|
BLAKE2b-256 | b93abd058592d9161b22ca2bf91e310f954abcae56b176d67c32b29d1dac3719 |
File details
Details for the file nonebot_plugin_admin-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_admin-0.1.9-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a0afc2eb1d3f4815998203ccfd3f408ccf714d459d7db9558591cb6aead0558 |
|
MD5 | 5e26a5afddf15273cca37d75b498646c |
|
BLAKE2b-256 | 1ca4f74d41ddd7280696cfe82f9898ca499a23bab2c3c15553f2993a4929e6cb |