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

koishi-plugin-steam-friend-status

v0.0.13

Published

查询群友steam状态

Downloads

71

Readme

koishi-plugin-steam-friend-status

npm

自动播报好友steam状态插件

灵感来源

nonebot-plugin-steam-info
☀️ 赞美🐱🐮 ☀️

指令说明

| 指令 | 功能说明 | |--|--| | 绑定steam <steam好友码/steamID> | 将用户的steam账号绑定至发送指令的群 | | 解绑steam | 解除用户在发送指令的群的绑定记录 | | 解绑全部steam | 解除用户在所有群的绑定记录 | | steam信息 | 返回用户自己的好友码 | | 看看steam | 查看当前群所有绑定用户的状态 | | steam on/off | 开启/关闭群播报功能,需要管理员权限,如果平台是red或者chronocat可能会因为无法获取到权限,需要手动在数据库的channel表中开启,默认off | | steam更新 | 更新所有绑定用户的头像 |

配置说明

| 配置项 | 默认值 | 说明 | |--|--|--| | SteamApiKey | 无 | 用户查询信息的apikey,可以从这里获取| | interval | 300 | 单位(秒),自动查询信息的时间间隔 | | useSteamName | true | 播报时使用玩家昵称,false为QQ昵称,true为steam昵称 red/satori适配器暂时无法获取到用户昵称,建议打开| | broadcastWithImage | true | 播报时附带好友列表图片,关闭可以减少因长图片导致的刷屏 |

其他说明

  • 需要启用koishi的puppeteer功能才能正常加载,如需调整字体格式,可以在node_modules中找到插件的位置,修改/css/steamFriendList.css文件。
  • 考虑到隐私,每个群的绑定信息独立,别人无法看到你在未绑定的群中的状态,因此需要再多个群使用时需要多次绑定
  • 有时候提示绑定失败可能是因为网络原因导致没有将用户头像保存下来,实际上数据库中已经绑定,可使用<steam更新>指令来更新一次所有用户的头像
  • 不支持QQ官方机器人