mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 18:02:31 -05:00
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:
@@ -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))))
|
||||
|
||||
#######################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user