Update __init__.py

This commit is contained in:
HibiKier 2022-03-06 17:02:59 +08:00 committed by GitHub
parent adc2757e8e
commit 678fc19f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ async def _(event: MessageEvent, cmd: Tuple[str, ...] = Command()):
scheduler.remove_job(f"genshin_resin_remind_{uid}_{event.user_id}")
except JobLookupError:
pass
if cmd == "":
if cmd[0] == "":
await Genshin.set_resin_remind(uid, True)
add_job(event.user_id, uid)
logger.info(