Hex DRAWING!!!! YAY!

This commit is contained in:
jona605a
2020-08-07 01:20:01 +02:00
parent b2e87ed360
commit 37b6e1c8c3
5 changed files with 114 additions and 77 deletions

View File

@ -64,8 +64,6 @@ async def runHex(channel,command,user):
winner = data["hex games"][str(channel.id)]["winner"]
if winner != 0:
addMoney(data["hex games"][str(channel.id)]["players"][winner-1].lower(),20)
with open("resources/games/games.json", "r") as f:
data = json.load(f) #why is this here?
deleteGame("hex games",str(channel.id))