作为史官,统计成员每日发言字数,生成话痨榜图片
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_group_historian-0.1.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_group_historian-0.1.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce6b1568d730b87f0ec59fa49064de21cfa3bff064dfaad863ca459afebe9beb
|
|
| MD5 |
96113e399bebc4c1143fabf77ee211f9
|
|
| BLAKE2b-256 |
8001b886509a934fe0638e7cf55570d97082487d560cb9ba8bef4d68407fe226
|
File details
Details for the file nonebot_plugin_group_historian-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_group_historian-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e0973190aafc23d87841db20da8136d0e399f75552738cfb69db47ed1e653e9
|
|
| MD5 |
8bae8ab655fc90de7509b3aa6925f4fe
|
|
| BLAKE2b-256 |
0adb5e86e774883287e32973948822841f13badbac0b97e27c5da19f1f9af786
|