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-pictime

v0.0.2

Published

保存某时间段某用户发送的所有图片

Readme

koishi-plugin-pictime

npm

图图时间!

本插件基于pictures-time插件。

📸 用法介绍

本插件用于记录群聊中用户发送的图片数量,并提供排行榜功能。其特色在于支持在一个记录会话中连续发送多张图片并进行保存和计数。

1. 开始记录 ⏱️

  • 在群聊中发送指令:
    pictime
    或者别名:
    图图time
  • 机器人会提示你开始记录。

2. 发送图片 🖼️

  • 在机器人提示开始后,发送你想要记录的图片(支持连续发送多张)。
  • 插件会自动处理你发送的图片消息,提取图片并准备保存。

3. 结束记录 ✅

  • 当你发送完所有想记录的图片后,发送指令:
    over
    或者别名:
    停止
  • 机器人会停止监听你的图片消息,并回复本次会话成功保存的图片数量、出错数量以及你累计在本插件中记录的总图片数量。

4. 查看排行 🏆

  • 在群聊中发送指令:
    pictime.rankings
    或者别名:
    图图排行
  • 机器人会显示当前群聊中,累计发图数量最多的前 10 名用户。

5. 配置项 ⚙️

你可以在 Koishi 控制台的插件配置界面找到本插件的设置:

  • paths: 设置图片存储的根目录。默认为 image-time,这是一个相对于 Koishi 数据目录 (data/) 的路径。可以更改为绝对路径。

重要提示 ✨

  • 只有执行 pictime 指令的用户本人发送的图片才会被该次会话记录。其他用户在同一时间发送的图片不会被计入你的当前会话。
  • 每个用户的记录会话是独立的。
  • 图片下载和保存依赖网络和文件系统权限,请确保 Koishi 具有相应的访问权限。