重写翻译,使用百度翻译API

This commit is contained in:
HibiKier
2023-03-04 17:51:18 +08:00
parent 3cdabb7d81
commit bdfdbbcaeb
4 changed files with 175 additions and 120 deletions
@@ -101,7 +101,7 @@ async def _():
f"genshin_resin_remind add_job:USER:{u.user_qq} UID:{u.uid}启动原神树脂提醒 "
)
else:
u.resin_recovery_time = None
u.resin_recovery_time = None # type: ignore
update_list.append(u)
add_job(u.user_qq, u.uid)
logger.info(