Skip to main content

nonebot2 plugin for group administration

Project description

nonebot

简易群管

✨ NoneBot2 简易群管 ✨_

踢 改 禁.......
欢迎 issue pr

权限说明:见下方指令↓

安装💿

pip install nonebot-plugin-admin

更新

pip install --upgrade nonebot-plugin-admin

导入📲

bot.py 导入,语句: nonebot.load_plugin("nonebot_plugin_admin")

TODO

  • 其他功能...

指令💻

【初始化】:
  /spinit
  
【加群自动审批】:
群内发送 permission=GROUP_ADMIN | GROUP_OWNER | SUPERUSER
  /sp  查看本群审批词条   或/审批
  /sp+ [词条]增加审批词条 或/审批+
  /sp- [词条]删除审批词条 或/审批-
  
【superuser】:
  /susp  查看所有审批词条   或/su审批
  /susp+ [群号] [词条]增加指定群审批词条 或/su审批+
  /susp- [群号] [词条]删除指定群审批词条 或/su审批-
  自动审批处理结果将发送给superuser

【分群管理设置】
群内发送 permission=GROUP_ADMIN | GROUP_OWNER | SUPERUSER
  /gad+ [user] user可用@或qq 添加分群管理
  /gad- [user] 删除分群管理
  /gad 查看本群分群管理
  
群内或私聊 permission=SUPERUSER
  /sugad 查看所有分群管理
  /sumsg 打开或关闭超管消息接收(关闭则加群处理结果不会发送给superusers)
    
【群管】:
权限:permission=SUPERUSER
  禁言:
    /禁 @某人 时间(s)[1,2591999]
    /禁 @某人 缺省时间则随机
    /禁 @某人 0 可解禁
    /解 @某人
  全群禁言(好像没用?)
    /all 
    /all 解
  改名片
    /改 @某人 名片
  改头衔
    /头衔 @某人 头衔
    /删头衔
  踢出:
    /踢 @某人
  踢出并拉黑:
   /黑 @某人

给个star吧~

其他插件 it咨询 工作性价比

在线运行代码

截图🖼

暂无

更新

  • 0.2.2 (适配 nonebot b1)

    • 更新后请初始化:/spinit

    • 修复未配置时/sp,命令出现错误

    • 修复/删头衔的bug

    • 增加分群管理,加群请求处理结果将发送给分群管理

    • 加群处理结果消息对 superuser 可开启或关闭: /sumsg

  • 0.2.1

    • 修复requiers
  • 0.1.9

    • 修复初始化功能
  • 0.1.0 issue#1

    • 支持入群自动审批

    • 支持在线对不同群的关键词进行增减操作

  • 0.0.1-4

    • 支持 踢 、禁 、改 、头衔

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-admin-0.2.2.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_admin-0.2.2-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page