🎨
This commit is contained in:
@ -634,7 +634,11 @@ async def fiar(channel,command,user):
|
||||
|
||||
winner = data["4 in a row games"][str(channel)]["winner"]
|
||||
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)
|
||||
with open("resources/games/games.json", "r") as f:
|
||||
data = json.load(f)
|
||||
|
||||
del data["4 in a row games"][str(channel)]
|
||||
|
||||
|
Reference in New Issue
Block a user