npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

koishi-plugin-group-approval

v1.0.1

Published

群组验证插件

Readme

koishi-plugin-group-approval

npm

群验证插件,支持入群申请处理和入群验证功能。

功能特点

  • 入群申请处理
    • 默认通过
    • QQ等级指定
    • QQ等级区间
  • 入群验证
    • 文字验证
    • 图片验证
    • 随机验证
  • 验证失败处理
    • 禁言
    • 踢出
  • 超时处理
    • 禁言
    • 踢出
    • 不处理

配置说明

群独立配置

每个群可以独立配置以下参数:

验证失败处理

  • maxRetries: 最大重试次数,默认为3次
  • punishmentType: 验证失败处理方式
    • 禁言: 禁言用户
    • 踢出: 将用户踢出群组
  • muteDuration: 禁言时长,单位为秒,默认为86400秒(24小时)

验证设置

  • verifyTimeout: 验证超时时间,单位为秒,默认为300秒(5分钟)
  • timeoutAction: 超时处理方式
    • 禁言: 禁言用户
    • 踢出: 将用户踢出群组
    • 不处理: 不做任何处理
  • verifyType: 验证类型
    • 文字: 发送文字算术题
    • 图片: 发送图片算术题
    • 随机: 随机选择文字或图片验证

入群申请处理

  • joinApproval.type: 入群申请处理方式
    • 默认通过: 直接通过申请
    • 等级指定: 需要QQ等级等于指定值
    • 等级区间: 需要QQ等级在指定区间内
  • joinApproval.level: 指定等级(当type为等级指定时使用)
  • joinApproval.minLevel: 等级区间最小值(当type为等级区间时使用)
  • joinApproval.maxLevel: 等级区间最大值(当type为等级区间时使用)

指令说明

解除禁言

  • 指令:unmute
  • 功能:通过验证解除禁言
  • 说明:被禁言的用户可以通过回答验证题来解除禁言

注意事项

  1. 未配置的群将拒绝所有入群申请
  2. 入群申请处理方式:
    • 默认通过:直接通过申请
    • 等级指定:需要QQ等级等于指定值
    • 等级区间:需要QQ等级在指定区间内
  3. 入群验证:
    • 文字验证:发送文字算术题
    • 图片验证:发送图片算术题
    • 随机验证:随机选择文字或图片验证
  4. 验证失败或超时:
    • 禁言:将用户禁言指定时长
    • 踢出:将用户移出群组
    • 不处理:不做任何处理