Name restrictions removed, settings check (...)

Name restrictions have been removed. It no longer force upon the user
the .Name() format. Settings are now checked every boot for consistency.
Slot machine now shows credits left every play
This commit is contained in:
Twentysix
2016-01-03 15:58:04 +01:00
parent bb96050eaf
commit cf5e07851b
3 changed files with 79 additions and 42 deletions

View File

@@ -204,8 +204,10 @@ async def slotMachine(message, bid):
else:
await client.send_message(message.channel, "{}{} `Nothing! Lost bet.` ".format(display_reels, message.author.mention))
withdrawMoney(message.author.id, bid)
await client.send_message(message.channel, "`Credits left: {}`".format(str(checkBalance(message.author.id))))
return True
addMoney(message.author.id, bid)
await client.send_message(message.channel, "`Current credits: {}`".format(str(checkBalance(message.author.id))))
#######################################