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

File metadata

File hashes

Hashes for nonebot_plugin_group_historian-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ede862f0f67e77143c270d335251458b7e31966e850f2ea9065fc69905f6c4f6
MD5 571e42d04530bc2a0e853e3e3e1493d5
BLAKE2b-256 3d0a3421a8cc752440c424b04bae26cd460e07c97bfa2da73e8a5544f06ece3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_group_historian-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dd33a2c3c77f3331022334901a308b000d4292fd018cc6d668add4372ae1eeff
MD5 38fd2529881de0775767e4ec0aedee77
BLAKE2b-256 5106fd92ca290311c84548327624af3a5b7d459ca3e8e8ca7dce89d1450723f0

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