mirror of
https://github.com/ChenXu233/nonebot_plugin_dialectlist.git
synced 2026-01-25 21:22:16 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3434a5352f | ||
|
|
0954eb4f3e | ||
|
|
5b94bc0fff |
26
README.md
26
README.md
@@ -54,15 +54,20 @@ nb plugin install nonebot-plugin-dialectlist
|
|||||||
|
|
||||||
在 .env 中,可以添加以下配置项
|
在 .env 中,可以添加以下配置项
|
||||||
```python
|
```python
|
||||||
dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
|
dialectlist__get_num: int = 5 # 获取人数数量
|
||||||
dialectlist__get_num = 10 #获取人数数量
|
dialectlist__font: str = "SimHei" # 字体格式
|
||||||
dialectlist__visualization = True #是否可视化
|
dialectlist__suffix: bool = True # 是否显示后缀
|
||||||
# dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
|
dialectlist__excluded_self: bool = True # 是否排除自己
|
||||||
dialectlist__font = "SimHei" #字体格式
|
dialectlist__visualization: bool = True # 是否可视化
|
||||||
dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
|
dialectlist__show_text_rank: bool = True # 是否显示文本排名
|
||||||
dialectlist__excluded_self = True #是否排除机器人自己 QQ
|
dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
|
||||||
dialectlist__suffix: bool = False # 是否显示后缀
|
dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
|
||||||
dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
|
dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
|
||||||
|
dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
|
||||||
|
dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
|
||||||
|
dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
|
||||||
|
dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
|
||||||
|
dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
|
||||||
```
|
```
|
||||||
💭也可以不进行配置,这将会使插件按照默认配置运行
|
💭也可以不进行配置,这将会使插件按照默认配置运行
|
||||||
|
|
||||||
@@ -126,6 +131,9 @@ __!!注意!!__
|
|||||||
`/kkb 114514 1919810 ♂`
|
`/kkb 114514 1919810 ♂`
|
||||||
`/kkb @man -k ♂`
|
`/kkb @man -k ♂`
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> 关键词支持正则表达式!
|
||||||
|
|
||||||
## 💪 目前支持的平台
|
## 💪 目前支持的平台
|
||||||
|
|
||||||
| 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
|
| 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nonebot-plugin-dialectlist"
|
name = "nonebot-plugin-dialectlist"
|
||||||
version = "2.6.0"
|
version = "2.6.1"
|
||||||
description = "看看你群群友有多能说"
|
description = "看看你群群友有多能说"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Chen_Xu233", email = "woyerpa@outlook.com"},
|
{name = "Chen_Xu233", email = "woyerpa@outlook.com"},
|
||||||
@@ -17,7 +17,7 @@ dependencies = [
|
|||||||
"pillow>=10.4.0",
|
"pillow>=10.4.0",
|
||||||
"nonebot-plugin-uninfo>=0.1.1",
|
"nonebot-plugin-uninfo>=0.1.1",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.9,<3.13"
|
requires-python = ">=3.9,<4.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {text = "MIT"}
|
license = {text = "MIT"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user