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 🙏

© 2024 – Pkg Stats / Ryan Hefner

kivibot-plugin-bang

v1.0.2

Published

QQ 机器人框架 KiviBot 的自爆插件,提供创意的娱乐性禁言功能

Downloads

3

Readme

自爆 for KiviBot

npm-version dm

KiviBot 的自爆插件,提供创意的娱乐性禁言功能。

温馨提示: 自爆虽好,可不要玩过了头哦。

安装

/plugin add bang

启用

/plugin on bang

使用

默认所有群关闭,需要手动开启,确保框架版本 >= 0.7.6,同时 Bot 需要具备群管理员或者群主身份。

注意: 复制的艾特并不是真正的艾特,那仅仅只是复制了文字,需要重新艾特。

同归于尽 @Viki
@Viki 自爆 @Kivi

配置

# 查看消息指令
/bang
# 开启/关闭 当前群,默认所有群关闭
/bang on/off
# 开启/关闭 禁言 Bot 管理员,默认禁言,需要 Bot 在当前群的权限大于 Bot 管理员(b 指 bot-admin)
/bang on/off -b
# 开启/关闭 禁言群管理员,默认禁言,需要 Bot 是群主(g 指 group-admin)
/bang on/off -g

其他配置请自行修改 框架目录/data/plugins/自爆/config.json 文件,重载插件生效

注意: 配置中不能带有注释,此处注释仅用作解释说明。

{
  // 自爆指令
  "cmds": ["自爆", "同归于尽"],
  // 闪避概率
  "missRate": 20,
  // 是否禁言群管理员,默认禁言,可使用 `/bang on/off -g` 自动修改
  "banGroupAdmins": true,
  // 是否禁言 Bot 管理员,默认禁言,可使用 `/bang on/off -b` 自动修改
  "banBotAdmins": true,
  // 未闪避时,随机禁言时长区间,单位分钟
  "randomBanSpan": [1, 10],
  // 最大有效艾特数(包括触发人,去重之后)
  "maxAtCount": 6,
  // 启用群列表,可在待操作的群里使用 `/bang on/off` 自动配置
  "enableGroups": [],
  // 触发人未闪避的文案
  "boomTip": "复活还剩 [m] 分钟。",
  // 闪避的文案列表,可重复,重复文案的将会按照比例随机选择
  "missTips": [
    "发动瞒天过海,偷偷溜走了。",
    "被炸出了复活甲,保住了狗命。",
    "发动无懈可击,此次伤害无效。",
    "触发了名刀,获得短暂无敌效果。",
    "秒换名刀,触发了被动,未受到伤害。",
    "凭借单身十年手速点出了金身,躲过一劫。"
  ],
  // 他人未闪避的文案,可重复,重复文案的将会按照比例随机选择
  "hitTips": [
    "躺着也中枪,复活还剩 [m] 分钟。",
    "躺着也中枪,复活还剩 [m] 分钟。",
    "躺着也中枪,复活还剩 [m] 分钟。",
    "想换名刀可惜手速不够,被狠狠炸伤,复活还剩 [m] 分钟。",
    "的复活甲竟是在拼多多买的,未挡住伤害,复活还剩 [m] 分钟。",
    "想复活甲秒换名刀,可惜钱不够被炸死,复活还剩 [m] 分钟。",
    "金身没点出来,被送回了泉水,复活还剩 [m] 分钟。"
  ]
}