From 1452b34f6436620b2e6913c46edbf55305712e14 Mon Sep 17 00:00:00 2001 From: Conatum Date: Mon, 20 Sep 2021 15:49:52 +0300 Subject: [PATCH] (Rooms): Allow booking from the next hour. --- bot/modules/accountability/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/accountability/commands.py b/bot/modules/accountability/commands.py index e2ecafd6..e95114b3 100644 --- a/bot/modules/accountability/commands.py +++ b/bot/modules/accountability/commands.py @@ -129,7 +129,7 @@ async def cmd_rooms(ctx): start_time = utc_now().replace(minute=0, second=0, microsecond=0) times = ( start_time + datetime.timedelta(hours=n) - for n in range(3, 28) + for n in range(1, 25) ) times = list(time for time in times if time not in already_joined_times) lines = [