Skip to main content

群热度统计插件 - 实时查询群内热度,生成昨日热度折线图

Project description

nonebot-plugin-group-heat

群热度统计插件 for NoneBot2

功能

  • /群热度 - 获取过去30分钟的群热度值,附带 bot 评价
  • /昨日热度图 - 生成昨日每30分钟的热度折线图,并显示平均热度

热度计算规则

消息类型 热度值
文本消息 +0.05
表情包 +0.20
文件(图片/视频/语音等) +0.30
其他消息 不计入
  • 每个统计周期的初始热度为 -10°

评价机制

热度范围 评价
< 0 群成冰块啦,群主快开暖气
0 ~ 10 是冬天到了吗,好冷www
10 ~ 20 温度非常舒适,大家继续努力~
20 ~ 30 群热度达到最佳状态!
30 ~ 39 好热,群主快开空调!
≥ 39 请发送高温补贴喵。。

安装

nb plugin install nonebot-plugin-group-heat
pip install nonebot-plugin-group-heat(也可以)

## 使用
在群聊中发送以下命令:

/群热度 - 查询过去30分钟的群热度

/昨日热度图 - 获取昨日热度折线图

## 开源协议
MIT

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_heat-0.1.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_group_heat-0.1.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_group_heat-0.1.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_group_heat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0dc42fc50bc153c395fc404536b7a1cf0e56e745dfd6121e510db16380d654ec
MD5 e2aada8d6b0012e75aafac1a88d42c90
BLAKE2b-256 6c72e3072a18157281a2cf3e354ae977d48a82a0f7f7dfeb1685715d839b7f59

See more details on using hashes here.

File details

Details for the file nonebot_plugin_group_heat-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_group_heat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 242d5486556896b6007bf1f77658e1e04b827476f50ff8fb5c4d77cb897c0857
MD5 370260cc0e44a0859041972a566a231e
BLAKE2b-256 b581a9e36d3e96e4a3c74c2e781dbd4d5305643d7d652392b40766b0b3e528e2

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