🎨
This commit is contained in:
@ -62,7 +62,7 @@ def placePiece(channel : str,player : int,column : int):
|
||||
message = data["4 in a row games"][channel]["players"][won-1]+" won. Adding 20 GwendoBucks to their account."
|
||||
else:
|
||||
gameWon = False
|
||||
message = data["4 in a row games"][channel]["players"][player-1]+" placed a piece in column "+str(column)+". It's now "+data["4 in a row games"][channel]["players"][turn]+"'s turn."
|
||||
message = data["4 in a row games"][channel]["players"][player-1]+" placed a piece in column "+str(column+1)+". It's now "+data["4 in a row games"][channel]["players"][turn]+"'s turn."
|
||||
|
||||
with open("resources/games/games.json", "w") as f:
|
||||
json.dump(data,f,indent=4)
|
||||
@ -80,7 +80,7 @@ def parseFourInARow(command, channel, user):
|
||||
|
||||
print(command)
|
||||
if command == "" or command == " ":
|
||||
return "I didn't get that. \"Use !fourinarow start\" to start a game.", False, False, False
|
||||
return "I didn't get that. \"Use !fourinarow start [opponent]\" to start a game.", False, False, False
|
||||
|
||||
|
||||
elif command.startswith(" start "):
|
||||
|
Reference in New Issue
Block a user