From e31d4bb48c69b0c4179fedf243b00dfdf6eedcea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Wed, 1 Feb 2023 17:01:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20Player=20Card=20Restric?= =?UTF-8?q?ts=20Time?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/player_cards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/player_cards.py b/plugins/genshin/player_cards.py index fe91ce9a..66728180 100644 --- a/plugins/genshin/player_cards.py +++ b/plugins/genshin/player_cards.py @@ -144,7 +144,7 @@ class PlayerCards(Plugin, BasePlugin): await render_result.reply_photo(message, filename=f"player_card_{uid}_{character_name}.png") @handler(CallbackQueryHandler, pattern=r"^get_player_card\|", block=False) - @restricts(restricts_time_of_groups=20, without_overlapping=True) + @restricts(restricts_time=3, without_overlapping=True) @error_callable async def get_player_cards(self, update: Update, _: CallbackContext) -> None: callback_query = update.callback_query