dice, blackjack: use the configured coin name in help

This commit is contained in:
moneromooo 2015-01-24 16:58:14 +00:00
parent 15c5d31dc7
commit a6d4f07eec
2 changed files with 2 additions and 2 deletions

View file

@ -1051,7 +1051,7 @@ RegisterModule({
RegisterCommand({
'module': __name__,
'name': 'blackjack',
'parms': '<amount-in-monero>' if len(config.blackjack_sidebets) == 0 else '<amount-in-monero> [sidebet1 [sidebet2...]]',
'parms': '<amount-in-%s>' % coinspecs.name if len(config.blackjack_sidebets) == 0 else '<amount-in-%s> [sidebet1 [sidebet2...]]' % coinspecs.name,
'function': Blackjack,
'registered': True,
'help': "start a blackjack game - blackjack pays 3:2"

View file

@ -238,7 +238,7 @@ RegisterModule({
RegisterCommand({
'module': __name__,
'name': 'dice',
'parms': '<amount-in-monero> <multiplier> [over|under]',
'parms': '<amount-in-%s> <multiplier> [over|under]' % coinspecs.name,
'function': Dice,
'registered': True,
'help': "play a dice game - house edge %.1f%%" % (float(config.dice_edge)*100)