From a8435123ac6d350cf329cf51845c7c431307c046 Mon Sep 17 00:00:00 2001 From: Conatum Date: Thu, 23 Sep 2021 21:07:02 +0300 Subject: [PATCH] (rooms): Add space in cmd room format. --- bot/modules/accountability/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/modules/accountability/commands.py b/bot/modules/accountability/commands.py index 66a00a8a..dd9bc796 100644 --- a/bot/modules/accountability/commands.py +++ b/bot/modules/accountability/commands.py @@ -50,7 +50,7 @@ async def cmd_rooms(ctx): # Show unbooking menu lines = [ - "`[{:>2}]` | - ".format( + "`[{:>2}]` | - ".format( i, int(row['start_at'].timestamp()), int(row['start_at'].timestamp()), @@ -157,7 +157,7 @@ async def cmd_rooms(ctx): ) times = list(time for time in times if time not in already_joined_times) lines = [ - "`[{:>2}]` | `{:>{}}` attending | - ".format( + "`[{:>2}]` | `{:>{}}` attending | - ".format( i, attendees.get(time, 0), attendee_pad, int(time.timestamp()), int(time.timestamp()), int(time.timestamp()) + 3600 @@ -261,7 +261,7 @@ async def cmd_rooms(ctx): await ctx.embed_reply( "You have booked the following accountability sessions.\n{}".format( '\n'.join( - " - ".format( + " - ".format( int(time.timestamp()), int(time.timestamp()), int(time.timestamp() + 3600) ) for time in to_book )