diff --git a/README.md b/README.md index 448db5e..337cb33 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,10 @@ DRIVER=~fastapi+~httpx+~websockets - 类型:`timedelta` - 默认:`timedelta(days=30)` - 说明:表情添加时间在该时间间隔以内时,添加 `new` 图标 + - `label_hot_frequency` + - 类型:`int` + - 默认:`24` + - 说明:单位:次/天;表情调用频率超过该频率时,添加 `hot` 图标 - `memes_list_image_config` 在 `.env` 文件中的设置示例如下: ``` @@ -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 } ' ``` diff --git a/pyproject.toml b/pyproject.toml index ef796ef..f26e3d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "MIT"