From 706133f29ae33fa6c81aa4f07b51c8ab9df6563c Mon Sep 17 00:00:00 2001 From: Conatum Date: Mon, 27 Sep 2021 22:23:45 +0300 Subject: [PATCH] fix (rooms): Fix time display again. --- bot/modules/accountability/commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bot/modules/accountability/commands.py b/bot/modules/accountability/commands.py index 02e86115..7e333ba9 100644 --- a/bot/modules/accountability/commands.py +++ b/bot/modules/accountability/commands.py @@ -253,7 +253,6 @@ async def cmd_rooms(ctx): pass return - print(message) try: await out_msg.delete() await message.delete() @@ -411,7 +410,6 @@ async def cmd_rooms(ctx): i = 0 while i < len(history): row = history[i] - print(date, row['start_at']) i += 1 if not row['attended']: # Not attended, streak broken @@ -462,7 +460,7 @@ async def cmd_rooms(ctx): ), "Time": "**{:02}:{:02}** spent in accountability rooms.".format( total_duration // 3600, - total_duration % 3600 + (total_duration % 3600) // 60 ), "Streak": "**{}** day{} with no missed sessions! (Longest: **{}** day{}.)".format( current_streak,