From 3b50f2e986c41f480ee7fe5ccf1e73bdb2359ccf Mon Sep 17 00:00:00 2001 From: meetwq Date: Mon, 12 Aug 2024 23:34:47 +0800 Subject: [PATCH] change frequency filter type to global --- nonebot_plugin_memes/matchers/help.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_memes/matchers/help.py b/nonebot_plugin_memes/matchers/help.py index 18cddbe..be2dff1 100644 --- a/nonebot_plugin_memes/matchers/help.py +++ b/nonebot_plugin_memes/matchers/help.py @@ -53,7 +53,7 @@ async def _(user_id: UserId, session: EventSession): label_hot_frequency = list_image_config.label_hot_frequency meme_generation_keys = await get_meme_generation_keys( - session, SessionIdType.GROUP, timedelta(days=1) + session, SessionIdType.GLOBAL, timedelta(days=1) ) meme_list: list[tuple[Meme, MemeProperties]] = [] diff --git a/pyproject.toml b/pyproject.toml index b573699..4363271 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot_plugin_memes" -version = "0.7.2" +version = "0.7.3" description = "Nonebot2 plugin for making memes" authors = ["meetwq "] license = "MIT"