话痨榜的图片渲染!

This commit is contained in:
Chenric
2024-07-08 13:42:58 +08:00
parent e08e1d2392
commit cff3a951b4
17 changed files with 482 additions and 263 deletions

View File

@@ -9,6 +9,7 @@ class ScopedConfig(BaseModel):
timezone: Optional[str] = "Asia/Shanghai"
excluded_self: bool = True
string_format: str = "{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
template_path: str = "./template/rank_template.j2" # 模板路径
visualization: bool = True # 是否可视化
excluded_people: List[str] = [] # 排除的人的QQ号
visualization_type: Literal["饼图", "圆环图", "柱状图"] = "圆环图" # 可视化方案