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({ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'blackjack', '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, 'function': Blackjack,
'registered': True, 'registered': True,
'help': "start a blackjack game - blackjack pays 3:2" 'help': "start a blackjack game - blackjack pays 3:2"

View file

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