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.0.tar.gz (5.6 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.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_group_heat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49ab73fa19a6a1de2d405703b8565c41c95359e5bf1143d7c16b6f41632a0cb9
MD5 524736cd207f04a4bba5923f58bc9b84
BLAKE2b-256 45cecada84397f7bdb0f513f4b6216c9e42c5fe768854453d350d82b4eea200f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_group_heat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cf0c0f568abbd61cd06d1614cc92a696807786cec68c3f6ec7c1ed0bbf13875
MD5 43092d29c4c882a3c00fc6054cab9748
BLAKE2b-256 64569fbaa40b3a24184f13fea17121f5ed92f65ff881bb4a7c2e97b7522de6db

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