mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-09 13:50:00 +08:00
Update __init__.py
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user