✨ Hex is winable!
This commit is contained in:
@ -62,7 +62,8 @@ async def runHex(channel,command,user):
|
||||
data = json.load(f)
|
||||
winner = data[str(channel.id)]["winner"]
|
||||
if winner != 0:
|
||||
addMoney(data[str(channel.id)]["players"][winner-1].lower(),50)
|
||||
winnings = data[str(channel.id)]["difficulty"]*10
|
||||
addMoney(data[str(channel.id)]["players"][winner-1].lower(),winnings)
|
||||
|
||||
#deleteGame("hex games",str(channel.id))
|
||||
with open("resources/games/hexGames.json", "r") as f:
|
||||
|
Reference in New Issue
Block a user