comit on main

This commit is contained in:
McElaga 2022-06-03 12:09:15 +08:00
parent c832a432c1
commit 09d7992bc4

View File

@ -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)
elif max_resin - 40 < current_resin <= max_resin - 20:
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)
elif current_resin == max_resin:
custom_overflow_resin = Config.get_config("resin_remind", "CUSTOM_RESIN_OVERFLOW_REMIND")