diff --git a/funcs/games/draw4InARow.py b/funcs/games/4InARowDraw.py similarity index 100% rename from funcs/games/draw4InARow.py rename to funcs/games/4InARowDraw.py diff --git a/funcs/games/fourInARow.py b/funcs/games/fourInARow.py index d3f37d2..c6801f4 100644 --- a/funcs/games/fourInARow.py +++ b/funcs/games/fourInARow.py @@ -1,6 +1,6 @@ import json -from . import draw4InARow +from . import 4InARowDraw from funcs import logThis # Starts the game @@ -18,7 +18,7 @@ def fourInARowStart(channel, user, opponent): with open("resources/games/games.json", "w") as f: json.dump(data,f,indent=4) - draw4InARow.drawImage(channel) + 4InARowDraw.drawImage(channel) return "Started game. It's "+user+"'s turn", True, False, False else: @@ -64,7 +64,7 @@ def placePiece(channel : str,player : int,column : int): with open("resources/games/games.json", "w") as f: json.dump(data,f,indent=4) - draw4InARow.drawImage(channel) + 4InARowDraw.drawImage(channel) return message, True, True, gameWon else: return "There isn't any room in that column", True, True, False