nonebot-plugin-dialectlist 2.6.0__tar.gz → 2.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {nonebot_plugin_dialectlist-2.6.0/nonebot_plugin_dialectlist.egg-info → nonebot_plugin_dialectlist-2.6.1}/PKG-INFO +19 -11
  2. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/README.md +17 -9
  3. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1/nonebot_plugin_dialectlist.egg-info}/PKG-INFO +19 -11
  4. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/pyproject.toml +2 -2
  5. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/LICENSE +0 -0
  6. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/MANIFEST.in +0 -0
  7. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/__init__.py +0 -0
  8. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/config.py +0 -0
  9. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/model.py +0 -0
  10. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/storage.py +0 -0
  11. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/template/avatar/default.jpg +0 -0
  12. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/template/css/style.css +0 -0
  13. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/template/rank_template.j2 +0 -0
  14. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/time.py +0 -0
  15. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/usage.py +0 -0
  16. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist/utils.py +0 -0
  17. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist.egg-info/SOURCES.txt +0 -0
  18. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist.egg-info/dependency_links.txt +0 -0
  19. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist.egg-info/requires.txt +0 -0
  20. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/nonebot_plugin_dialectlist.egg-info/top_level.txt +0 -0
  21. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.1}/setup.cfg +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nonebot-plugin-dialectlist
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: 看看你群群友有多能说
5
5
  Author-email: Chen_Xu233 <woyerpa@outlook.com>
6
6
  License: MIT
7
- Requires-Python: <3.13,>=3.9
7
+ Requires-Python: <4.0,>=3.9
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: nonebot-plugin-chatrecorder>=0.6.0
@@ -82,15 +82,20 @@ nb plugin install nonebot-plugin-dialectlist
82
82
 
83
83
  在 .env 中,可以添加以下配置项
84
84
  ```python
85
- dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
86
- dialectlist__get_num = 10 #获取人数数量
87
- dialectlist__visualization = True #是否可视化
88
- # dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
89
- dialectlist__font = "SimHei" #字体格式
90
- dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
91
- dialectlist__excluded_self = True #是否排除机器人自己 QQ
92
- dialectlist__suffix: bool = False # 是否显示后缀
93
- dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
85
+ dialectlist__get_num: int = 5 # 获取人数数量
86
+ dialectlist__font: str = "SimHei" # 字体格式
87
+ dialectlist__suffix: bool = True # 是否显示后缀
88
+ dialectlist__excluded_self: bool = True # 是否排除自己
89
+ dialectlist__visualization: bool = True # 是否可视化
90
+ dialectlist__show_text_rank: bool = True # 是否显示文本排名
91
+ dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
92
+ dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
93
+ dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
94
+ dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
95
+ dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
96
+ dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
97
+ dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
98
+ dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
94
99
  ```
95
100
  💭也可以不进行配置,这将会使插件按照默认配置运行
96
101
 
@@ -154,6 +159,9 @@ __!!注意!!__
154
159
  `/kkb 114514 1919810 ♂`
155
160
  `/kkb @man -k ♂`
156
161
 
162
+ > [!IMPORTANT]
163
+ > 关键词支持正则表达式!
164
+
157
165
  ## 💪 目前支持的平台
158
166
 
159
167
  | 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
@@ -54,15 +54,20 @@ nb plugin install nonebot-plugin-dialectlist
54
54
 
55
55
  在 .env 中,可以添加以下配置项
56
56
  ```python
57
- dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
58
- dialectlist__get_num = 10 #获取人数数量
59
- dialectlist__visualization = True #是否可视化
60
- # dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
61
- dialectlist__font = "SimHei" #字体格式
62
- dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
63
- dialectlist__excluded_self = True #是否排除机器人自己 QQ
64
- dialectlist__suffix: bool = False # 是否显示后缀
65
- dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
57
+ dialectlist__get_num: int = 5 # 获取人数数量
58
+ dialectlist__font: str = "SimHei" # 字体格式
59
+ dialectlist__suffix: bool = True # 是否显示后缀
60
+ dialectlist__excluded_self: bool = True # 是否排除自己
61
+ dialectlist__visualization: bool = True # 是否可视化
62
+ dialectlist__show_text_rank: bool = True # 是否显示文本排名
63
+ dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
64
+ dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
65
+ dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
66
+ dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
67
+ dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
68
+ dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
69
+ dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
70
+ dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
66
71
  ```
67
72
  💭也可以不进行配置,这将会使插件按照默认配置运行
68
73
 
@@ -126,6 +131,9 @@ __!!注意!!__
126
131
  `/kkb 114514 1919810 ♂`
127
132
  `/kkb @man -k ♂`
128
133
 
134
+ > [!IMPORTANT]
135
+ > 关键词支持正则表达式!
136
+
129
137
  ## 💪 目前支持的平台
130
138
 
131
139
  | 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nonebot-plugin-dialectlist
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: 看看你群群友有多能说
5
5
  Author-email: Chen_Xu233 <woyerpa@outlook.com>
6
6
  License: MIT
7
- Requires-Python: <3.13,>=3.9
7
+ Requires-Python: <4.0,>=3.9
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: nonebot-plugin-chatrecorder>=0.6.0
@@ -82,15 +82,20 @@ nb plugin install nonebot-plugin-dialectlist
82
82
 
83
83
  在 .env 中,可以添加以下配置项
84
84
  ```python
85
- dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
86
- dialectlist__get_num = 10 #获取人数数量
87
- dialectlist__visualization = True #是否可视化
88
- # dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
89
- dialectlist__font = "SimHei" #字体格式
90
- dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
91
- dialectlist__excluded_self = True #是否排除机器人自己 QQ
92
- dialectlist__suffix: bool = False # 是否显示后缀
93
- dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
85
+ dialectlist__get_num: int = 5 # 获取人数数量
86
+ dialectlist__font: str = "SimHei" # 字体格式
87
+ dialectlist__suffix: bool = True # 是否显示后缀
88
+ dialectlist__excluded_self: bool = True # 是否排除自己
89
+ dialectlist__visualization: bool = True # 是否可视化
90
+ dialectlist__show_text_rank: bool = True # 是否显示文本排名
91
+ dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
92
+ dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
93
+ dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
94
+ dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
95
+ dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
96
+ dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
97
+ dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
98
+ dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
94
99
  ```
95
100
  💭也可以不进行配置,这将会使插件按照默认配置运行
96
101
 
@@ -154,6 +159,9 @@ __!!注意!!__
154
159
  `/kkb 114514 1919810 ♂`
155
160
  `/kkb @man -k ♂`
156
161
 
162
+ > [!IMPORTANT]
163
+ > 关键词支持正则表达式!
164
+
157
165
  ## 💪 目前支持的平台
158
166
 
159
167
  | 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nonebot-plugin-dialectlist"
3
- version = "2.6.0"
3
+ version = "2.6.1"
4
4
  description = "看看你群群友有多能说"
5
5
  authors = [
6
6
  {name = "Chen_Xu233", email = "woyerpa@outlook.com"},
@@ -17,7 +17,7 @@ dependencies = [
17
17
  "pillow>=10.4.0",
18
18
  "nonebot-plugin-uninfo>=0.1.1",
19
19
  ]
20
- requires-python = ">=3.9,<3.13"
20
+ requires-python = ">=3.9,<4.0"
21
21
  readme = "README.md"
22
22
  license = {text = "MIT"}
23
23