mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-07 12:50:03 +08:00
comit on main
This commit is contained in:
@@ -153,7 +153,7 @@ async def _remind(user_id: int, uid: str):
|
|||||||
next_time = now + timedelta(minutes=(max_resin - 40 - current_resin + 1) * 8, seconds=10)
|
next_time = now + timedelta(minutes=(max_resin - 40 - current_resin + 1) * 8, seconds=10)
|
||||||
elif max_resin - 40 < current_resin <= max_resin - 20:
|
elif max_resin - 40 < current_resin <= max_resin - 20:
|
||||||
next_time = now + timedelta(minutes=(max_resin - 20 - current_resin + 1) * 8, seconds=10)
|
next_time = now + timedelta(minutes=(max_resin - 20 - current_resin + 1) * 8, seconds=10)
|
||||||
elif max_resin - 20 < current_resin <= max_resin:
|
elif max_resin - 20 < current_resin < max_resin:
|
||||||
next_time = now + timedelta(minutes=(max_resin - current_resin) * 8, seconds=10)
|
next_time = now + timedelta(minutes=(max_resin - current_resin) * 8, seconds=10)
|
||||||
elif current_resin == max_resin:
|
elif current_resin == max_resin:
|
||||||
custom_overflow_resin = Config.get_config("resin_remind", "CUSTOM_RESIN_OVERFLOW_REMIND")
|
custom_overflow_resin = Config.get_config("resin_remind", "CUSTOM_RESIN_OVERFLOW_REMIND")
|
||||||
|
|||||||
Reference in New Issue
Block a user