🐛
This commit is contained in:
@ -102,7 +102,7 @@ def placePiece(channel : str,player : int,column : int):
|
||||
data["4 in a row games"][channel]["win coordinates"] = winCoordinates
|
||||
|
||||
message = getName(data["4 in a row games"][channel]["players"][won-1])+" won."
|
||||
winAmount = int(data["4 in a row games"][channel]["difficulty"])^2+5
|
||||
winAmount = int(data["4 in a row games"][channel]["difficulty"])**2+5
|
||||
if data["4 in a row games"][channel]["players"][won-1] != "Gwendolyn":
|
||||
message += " Adding "+str(winAmount)+" GwendoBucks to their account."
|
||||
elif 0 not in board[0]:
|
||||
|
@ -365,7 +365,6 @@ def getName(userID):
|
||||
data = json.load(f)
|
||||
|
||||
if userID in data:
|
||||
logThis("yeet")
|
||||
return data[userID]["user name"]
|
||||
else:
|
||||
logThis("Couldn't find user")
|
||||
|
Reference in New Issue
Block a user