From 7526ae13d7eaca3077a329d19e89cb50efbb7fde Mon Sep 17 00:00:00 2001 From: EillesWan Date: Sun, 14 Jul 2024 02:30:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=B8=80=E4=B8=AA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/liteyuki_status/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/liteyuki_status/api.py b/src/plugins/liteyuki_status/api.py index 4c393521..eb0cf943 100644 --- a/src/plugins/liteyuki_status/api.py +++ b/src/plugins/liteyuki_status/api.py @@ -69,8 +69,8 @@ status_card_cache = {} # lang -> bytes # 60s刷新一次 # 之前写的什么鬼玩意,这么重要的功能这样写??? @scheduler.scheduled_job("cron", second="*/40") -async def refresh_status_card(languale: str = "zh-CN"): - nonebot.logger.debug("Refreshing status card cache of lang {}...".format(languale)) +async def refresh_status_card(): + nonebot.logger.debug("Refreshing status card cache.") global status_card_cache status_card_cache = {} # bot_data = await get_bots_data()