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 🙏

© 2026 – Pkg Stats / Ryan Hefner

pupbot-plugin-true_setu

v1.2.0

Published

涩涩机器人

Downloads

7

Readme

涩涩机器人

使用本插件需要手动下载node-schedule

使用npm i node-schedule下载

hentai值规则设定:

每个人都有一个hentai值,获取一次涩图就会增加一点hentai值
hentai值越高,获取涩图的cd就越长
hentai值每天凌晨会降低一点

你也可以在设置中关闭或修改这些设定

bot管理员可以在任何地方获取色图(但会受到cd的影响)

bot管理员功能

  • 开启/关闭超级管理员功能: ty ss super admin on/off

打开后bot管理员无cd和hentai值的影响

  • 设置本群管理员权限: ty ss set admin on/off

仅在群聊中使用,指定谁能设置bot

- off:仅bot管理员(默认值)
- on:bot管理员+群管理员

注意: 每个群的设置是独立的

群设置

群设置需要有权限,详情参考上面的ty ss set admin on/off

注意: 每个群的设置是独立的

私聊bot发送相关指令可以修改私聊获取涩图的规则

  • 查询群/私聊状态:ty ss status

获取本群/私聊配置

  • 开关群/私聊涩图功能: ty setu open/close

群主&管理员&群员都受到影响

  • 设置自动撤回: ty ss auto ch [ms]

设置自动撤回的时间,如果>120000则不会撤回

例:

ty ss auto ch 10000
// 打开自动撤回并设置撤回时间为10秒
ty ss auto ch 200000
// 关闭自动撤回
  • 设置罚时: ty ss pt [ms]

设置罚时倍率,设置为0时关闭罚时

默认开启并且倍率为1000ms

罚时的计算方法:例如在罚时为1000的情况下

当一个人hentai值增加1时,cd增加1*1000

例:

ty ss pt 1000
// 打开罚时并设置倍率为1000
ty ss pt 0
// 关闭罚时
  • 设置色图获取cd ty ss cd [ms]

设置色图获取基础cd,真实的cd还要加上hentai值*罚时倍率

默认30s

例:

ty ss cd 30000
// 设置基础cd为30秒
ty ss cd 0
// 关闭cd
  • 获取群绅士榜单:ty hentai list

获取本群hentai值排行榜

私聊则获取总榜

群员指令

只有在本群开启涩涩时才能使用

  • 获取菜单:涩涩 help

  • 获取涩图:涩涩+[(可选)参数]

例子:

涩涩
// 获取随机涩图
涩涩原神
// 获取原神涩图

关于涩图

涩,但只涩一点点,涩太多了tx不让发,所以你们别太兴奋

配置文件

一般来说不需要更改配置,有需要可以自行更改(记得先关机再改)

{
    // 超级管理员:bot管理员获取色图无cd,hentai值
    "super_admin": false,
    // 群列表
    "group_list": [
        {
            // 群名,0号为私聊配置
            "name": "私聊配置",
            // 群号
            "group_id": 0,
            // 本群bot管理权
            // 若为true则管理员可设置
            // 私聊该配置无效
            "admin": false,
            // 自动撤回
            // 默认30000,超过120000视为不撤回
            "auto_ch": 30000,
            // 获取色图权限
            // true则大家都可以获取涩图
            "setu_get": false,
            // 获取色图的cd可设置为0
            "setu_cd": 30000,
            // 罚时设置
            // 设为0则为不开启,默认1000
            "punish_time": 1000
        }
    ],
    // 绅士列表
    "sex_list": [
        // 第一个是案例,会被自动清除的
        {
            // hentai值
            "hentai": 0,
            // QQid
            "qq_id": 0,
            // 上一次涩涩的时间
            "last_time": 0
        },
    ]
}