From 248de61575b9da952b7859fb330ec9a0d89c7db0 Mon Sep 17 00:00:00 2001 From: Connor Smith Date: Sun, 16 Jun 2024 00:43:58 +1000 Subject: [PATCH] Whoops! Forgot to convert seconds field into minutes when claiming roles --- dictator/cogs/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictator/cogs/roles.py b/dictator/cogs/roles.py index a2c8276..039345c 100644 --- a/dictator/cogs/roles.py +++ b/dictator/cogs/roles.py @@ -142,7 +142,7 @@ def playtime_less_than( ) time_played = db.fetchone() - return True if int(time_played[0]) < less_than_minutes else False + return True if int(time_played[0] / 60) < less_than_minutes else False async def setup(dictator: commands.Bot) -> None: