Skip to main content

作为史官,统计成员每日发言字数,生成话痨榜图片

Project description

nonebot-plugin-group-historian

✨ 群聊史官 ✨

基于 NoneBot2 的群聊发言统计插件,自动生成每日"话痨榜"图片。

功能

  • 统计群成员每日发言总字数(仅统计纯文本消息)
  • 按发言字数从高到低生成排行榜图片
  • 每日 00:00 自动重置统计

安装

nb plugin install nonebot-plugin-group-historian

pip install nonebot-plugin-group-historian

使用

在群聊中发送以下命令:

  • 今日话痨榜:获取今日群内发言字数排行榜(机器人回复图片)

配置

无需配置,即装即用。

数据存储

插件使用 nonebot-plugin-localstore 管理数据目录,数据库文件自动存放在标准数据目录下。

注意事项

  • 仅统计文字消息,图片、表情、文件等不计算
  • 排行榜每日 0 点自动重置
  • 需要机器人有发送图片的权限

开源协议

MIT

仓库

https://github.com/Wojusensei/nonebot-plugin-group-historian

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_group_historian-0.1.8.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_group_historian-0.1.8.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_group_historian-0.1.8.tar.gz
Algorithm Hash digest
SHA256 da51daab53616aa1d78d07100de1d093f301ccde999267671809d972d5226cf6
MD5 24eac97285fc3cf345a351706e6f4f84
BLAKE2b-256 895f2d399362b3823aade9c1baea97b755957b0229e351bfaa4749e13f9ba5bc

See more details on using hashes here.

File details

Details for the file nonebot_plugin_group_historian-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_group_historian-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 45a1ded6bd2cb3e3cdc4c9a92d3dca25b03dd5817a5191a751fc731b5815485b
MD5 70b0390a6513af0bfee0ece8078501a4
BLAKE2b-256 464b1fe35093519ea909d6528a70e53569221b335557e58b4b7c50ecaa865da0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page