Skip to content

Commit

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

```
Expand All @@ -131,7 +135,8 @@ memes_list_image_config='
"sort_reverse": false,
"text_template": "{keywords}",
"add_category_icon": true,
"label_new_timedelta": "P30D"
"label_new_timedelta": "P30D",
"label_hot_frequency": 24
}
'
```
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.1"
version = "0.4.2"
description = "Nonebot2 plugin for making memes"
authors = ["meetwq <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit b122e22

Please sign in to comment.