This commit is contained in:
Nikolaj Danger
2020-08-04 11:30:13 +02:00
parent 85b093cc18
commit 85c9b8ef2d
2 changed files with 4 additions and 2 deletions

View File

@ -83,7 +83,8 @@ async def fiar(channel,command,user):
winner = data["4 in a row games"][str(channel)]["winner"]
if winner != 0:
addMoney(data["4 in a row games"][str(channel)]["players"][winner-1].lower(),20)
winAmount = data["4 in a row games"][str(channel)]["difficulty"] * 5
addMoney(data["4 in a row games"][str(channel)]["players"][winner-1].lower(),winAmount)
with open("resources/games/games.json", "r") as f:
data = json.load(f)