forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-05-19 09:49:15 +02:00
parent f6cf02b210
commit 44cd7f4a92
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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)