Skip to content

Commit

Permalink
0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Aug 13, 2024
1 parent 6030a71 commit 8d865db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,14 @@ DRIVER=~fastapi+~httpx+~websockets
- 类型:`timedelta`
- 默认:`timedelta(days=30)`
- 说明:表情添加时间在该时间间隔以内时,添加 `new` 图标
- `label_hot_frequency`
- `label_hot_threshold`
- 类型:`int`
- 默认:`24`
- 说明:单位:次/天;表情调用频率超过该频率时,添加 `hot` 图标
- 默认:`21`
- 说明:单位:次;表情在 `label_hot_days` 内的调用次数超过该阈值时,添加 `hot` 图标
- `label_hot_days`
- 类型:`int`
- 默认:`7`
- 说明:单位:天;表情调用次数统计周期
- `memes_list_image_config``.env` 文件中的设置示例如下:

```
Expand All @@ -136,7 +140,8 @@ memes_list_image_config='
"text_template": "{keywords}",
"add_category_icon": true,
"label_new_timedelta": "P30D",
"label_hot_frequency": 24
"label_hot_threshold": 21,
"label_hot_days": 7
}
'
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot_plugin_memes_api"
version = "0.4.3"
version = "0.4.4"
description = "Nonebot2 plugin for making memes"
authors = ["meetwq <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 8d865db

Please sign in to comment.