Skip to content

Commit

Permalink
Whoops! Forgot to convert seconds field into minutes when claiming roles
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhsm committed Jun 15, 2024
1 parent ec51749 commit 248de61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dictator/cogs/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 248de61

Please sign in to comment.