🐛 now assumes Gwendolyn when using "!fourinarow start" without an opponent
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user