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.7.tar.gz (6.0 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.7.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_group_historian-0.1.7.tar.gz
Algorithm Hash digest
SHA256 535cc8588370b1bc3d47d85f3d0bdaa3529717b6ec7bf27d4dacfdf2c803e470
MD5 2fd14bd45024e3c2f790a74944c6d569
BLAKE2b-256 d03018839f3c6c48f36f77cb1250d362278be95e7f496181e18c463a0243f7ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_group_historian-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6a13bbcd6dcbb4d4bd756e5aaa7119e3ec38553d2019c50008b95bdc5622a63a
MD5 43cb6efb670266d2f3299ec04e98d1aa
BLAKE2b-256 9c47251e3421c10195d02caa271f44d59e998bff02ce47b3fa98de260e169ea0

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