🐛
This commit is contained in:
@@ -197,7 +197,6 @@ class HexGame():
|
|||||||
else:
|
else:
|
||||||
return "There's no game in this channel", False, False, False, False
|
return "There's no game in this channel", False, False, False, False
|
||||||
|
|
||||||
|
|
||||||
# Returns a board where the placement has occured
|
# Returns a board where the placement has occured
|
||||||
def placeOnHexBoard(self, board,player,position):
|
def placeOnHexBoard(self, board,player,position):
|
||||||
# Translates the position
|
# Translates the position
|
||||||
@@ -220,7 +219,6 @@ class HexGame():
|
|||||||
logThis("Cannot place on existing piece (error code 1532)")
|
logThis("Cannot place on existing piece (error code 1532)")
|
||||||
return "Error. You must place on an empty space."
|
return "Error. You must place on an empty space."
|
||||||
|
|
||||||
|
|
||||||
# After your move, you have the option to undo get your turn back #TimeTravel
|
# After your move, you have the option to undo get your turn back #TimeTravel
|
||||||
def undoHex(self, channel, user):
|
def undoHex(self, channel, user):
|
||||||
game = self.bot.database["hex games"].find_one({"_id":channel})
|
game = self.bot.database["hex games"].find_one({"_id":channel})
|
||||||
|
|||||||
Reference in New Issue
Block a user