Update __init__.py

This commit is contained in:
HibiKier
2022-03-06 17:02:59 +08:00
committed by GitHub
parent adc2757e8e
commit 678fc19f2d
@@ -55,7 +55,7 @@ async def _(event: MessageEvent, cmd: Tuple[str, ...] = Command()):
scheduler.remove_job(f"genshin_resin_remind_{uid}_{event.user_id}") scheduler.remove_job(f"genshin_resin_remind_{uid}_{event.user_id}")
except JobLookupError: except JobLookupError:
pass pass
if cmd == "开": if cmd[0] == "开":
await Genshin.set_resin_remind(uid, True) await Genshin.set_resin_remind(uid, True)
add_job(event.user_id, uid) add_job(event.user_id, uid)
logger.info( logger.info(