From 436dd879cea79442e6947567c55610ede8c71653 Mon Sep 17 00:00:00 2001 From: jona605a Date: Tue, 4 Aug 2020 10:32:26 +0200 Subject: [PATCH] :bug: now assumes Gwendolyn when using "!fourinarow start" without an opponent --- funcs/games/fourInARow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/funcs/games/fourInARow.py b/funcs/games/fourInARow.py index ac668a4..5254eb2 100644 --- a/funcs/games/fourInARow.py +++ b/funcs/games/fourInARow.py @@ -137,6 +137,8 @@ def parseFourInARow(command, channel, user): return "I didn't get that. Use \"!fourinarow start [opponent]\" to start a game. To play against the computer, use difficulty 1 through 5 as the [opponent].", False, False, False, False elif commands[0] == "start": # Starting a game + if len(commands) == 1: # if the commands is "!hex start", the opponent is Gwendolyn + commands.append("3") return fourInARowStart(channel,user,commands[1]) # commands[1] is the opponent # Stopping the game