From 44cd7f4a929fefd26f0cfa8a0821ff602670ef83 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 19 May 2022 09:49:15 +0200 Subject: [PATCH] fds --- files/classes/comment.py | 2 +- files/helpers/blackjack.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 79132147e..cb532df6b 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -479,7 +479,7 @@ class Comment(Base): wager = int(split_result[4]) try: kind = split_result[5] except: kind = "coins" - currency_kind = "Coins" if kind == "coins" else "Marseybucks" + currency_kind = "Coins" if kind == "coins" else "Marseybux" try: is_insured = split_result[6] except: is_insured = "0" diff --git a/files/helpers/blackjack.py b/files/helpers/blackjack.py index a695a488d..6b08d90d5 100644 --- a/files/helpers/blackjack.py +++ b/files/helpers/blackjack.py @@ -6,7 +6,7 @@ deck_count = 4 ranks = ("2", "3", "4", "5", "6", "7", "8", "9", "X", "J", "Q", "K", "A") suits = ("♠️", "♥️", "♣️", "♦️") coins_command_word = "!blackjack" -marseybucks_command_word = "!blackjackmb" +marseybux_command_word = "!blackjackmb" minimum_bet = 100 maximum_bet = INFINITY @@ -51,7 +51,7 @@ def format_all(player_hand, dealer_hand, deck, status, wager, kind, is_insured=0 def check_for_blackjack_commands(in_text, from_user, from_comment): - for command_word in (coins_command_word, marseybucks_command_word): + for command_word in (coins_command_word, marseybux_command_word): currency_prop = "coins" if command_word == coins_command_word else "procoins" currency_value = getattr(from_user, currency_prop, 0)