forked from rDrama/rDrama
master
parent
f9197ffd03
commit
e92bfcaeef
|
@ -64,8 +64,10 @@ class Blackjack:
|
||||||
if self.command_word in in_text:
|
if self.command_word in in_text:
|
||||||
for word in in_text.split():
|
for word in in_text.split():
|
||||||
if self.command_word in word:
|
if self.command_word in word:
|
||||||
wager = word[len(self.command_word):]
|
try:
|
||||||
wager_value = int(wager)
|
wager = word[len(self.command_word):]
|
||||||
|
wager_value = int(wager)
|
||||||
|
except: break
|
||||||
|
|
||||||
if (wager_value < self.minimum_bet):
|
if (wager_value < self.minimum_bet):
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue