mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-22 22:37:37 +08:00
补一个错
This commit is contained in:
parent
0eb41f70d2
commit
7526ae13d7
@ -69,8 +69,8 @@ status_card_cache = {} # lang -> bytes
|
|||||||
# 60s刷新一次
|
# 60s刷新一次
|
||||||
# 之前写的什么鬼玩意,这么重要的功能这样写???
|
# 之前写的什么鬼玩意,这么重要的功能这样写???
|
||||||
@scheduler.scheduled_job("cron", second="*/40")
|
@scheduler.scheduled_job("cron", second="*/40")
|
||||||
async def refresh_status_card(languale: str = "zh-CN"):
|
async def refresh_status_card():
|
||||||
nonebot.logger.debug("Refreshing status card cache of lang {}...".format(languale))
|
nonebot.logger.debug("Refreshing status card cache.")
|
||||||
global status_card_cache
|
global status_card_cache
|
||||||
status_card_cache = {}
|
status_card_cache = {}
|
||||||
# bot_data = await get_bots_data()
|
# bot_data = await get_bots_data()
|
||||||
|
Loading…
Reference in New Issue
Block a user