🎨 Two types of drawing

This commit is contained in:
Nikolaj Danger
2020-07-31 23:16:55 +02:00
parent 61c58610d6
commit 07c097be9b
3 changed files with 50 additions and 28 deletions

View File

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