mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-14 19:37:44 +08:00
✨ 消息统计新增指定用户选项
This commit is contained in:
parent
5bc2725d1b
commit
b26f8e0d24
@ -80,7 +80,7 @@ async def get_stat_msg_image(duration: int, period: int, group_id: str = None, b
|
|||||||
{
|
{
|
||||||
"name": ulang.get("stat.message")
|
"name": ulang.get("stat.message")
|
||||||
+ f" Period {convert_seconds_to_time(period)}" + f" Duration {convert_seconds_to_time(duration)}"
|
+ f" Period {convert_seconds_to_time(period)}" + f" Duration {convert_seconds_to_time(duration)}"
|
||||||
+ (f" Group {group_id}" if group_id else "") + (f" Bot {bot_id}" if bot_id else ""),
|
+ (f" Group {group_id}" if group_id else "") + (f" Bot {bot_id}" if bot_id else "") + (f" User {user_id}" if user_id else ""),
|
||||||
"times": timestamps,
|
"times": timestamps,
|
||||||
"counts": msg_count
|
"counts": msg_count
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user