1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 20:23:12 +00:00

Remove bet limit on slots & blackjack

This commit is contained in:
wlinator 2024-01-02 11:19:59 +01:00
parent 65a9c6fed0
commit 91beda171b
2 changed files with 9 additions and 9 deletions

View file

@ -139,10 +139,10 @@ class BlackJackCog(commands.Cog):
return
# check if the bet exceeds the bet limit
bet_limit = int(economy_config["bet_limit"])
if abs(bet) > bet_limit:
message = strings["bet_limit"].format(ctx.author.name, Currency.format_human(bet_limit))
return await ctx.respond(content=message)
# bet_limit = int(economy_config["bet_limit"])
# if abs(bet) > bet_limit:
# message = strings["bet_limit"].format(ctx.author.name, Currency.format_human(bet_limit))
# return await ctx.respond(content=message)
active_blackjack_games[ctx.author.id] = True

View file

@ -175,11 +175,11 @@ class SlotsCog(commands.Cog):
await ctx.respond(embed=economy_embeds.not_enough_cash())
return
# check if the bet exceeds the bet limit
bet_limit = int(economy_config["bet_limit"])
if abs(bet) > bet_limit:
message = strings["bet_limit"].format(ctx.author.name, Currency.format_human(bet_limit))
return await ctx.respond(content=message)
# # check if the bet exceeds the bet limit
# bet_limit = int(economy_config["bet_limit"])
# if abs(bet) > bet_limit:
# message = strings["bet_limit"].format(ctx.author.name, Currency.format_human(bet_limit))
# return await ctx.respond(content=message)
# calculate the results before the command is shown
results = [random.randint(0, 6) for _ in range(3)]