Skip to content

Commit

Permalink
fix: leaderboard and rounding issues iirc
Browse files Browse the repository at this point in the history
  • Loading branch information
2vw committed Mar 10, 2024
1 parent 1068014 commit cbaf074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ async def slots_game(ctx, amount: int):
description="Bet on the slots machine!",
)
@limiter(30, on_ratelimited=lambda ctx, delay, *_1, **_2: ctx.send(f"You're on cooldown! Please try again in `{strfdelta(datetime.timedelta(seconds=delay), '{seconds}s')}`!"))
async def slots(ctx, amount: str = None):
async def slots(ctx, amount: str):
parsed_amount = await parse_amount(ctx, amount)

if parsed_amount is None:
Expand Down

0 comments on commit cbaf074

Please sign in to comment.