From 20e3d4efe0031b0d5f9c9b7b2a532bf79ad3dc5d Mon Sep 17 00:00:00 2001 From: Conatum Date: Mon, 27 Sep 2021 22:20:23 +0300 Subject: [PATCH] fix (rooms): Show hour/minute not minute/second. --- bot/modules/accountability/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/modules/accountability/commands.py b/bot/modules/accountability/commands.py index e532fa3a..02e86115 100644 --- a/bot/modules/accountability/commands.py +++ b/bot/modules/accountability/commands.py @@ -461,8 +461,8 @@ async def cmd_rooms(ctx): (attended_count * 100) / total_count, ), "Time": "**{:02}:{:02}** spent in accountability rooms.".format( - total_duration // 60, - total_duration % 60 + total_duration // 3600, + total_duration % 3600 ), "Streak": "**{}** day{} with no missed sessions! (Longest: **{}** day{}.)".format( current_streak,