diff --git a/commands/games-mp/connect-four.js b/commands/games-mp/connect-four.js index aa3e48ec..cebef330 100644 --- a/commands/games-mp/connect-four.js +++ b/commands/games-mp/connect-four.js @@ -66,11 +66,7 @@ module.exports = class ConnectFourCommand extends Command { const playerOneEmoji = color; let playerTwoEmoji = color === colors.yellow ? colors.red : colors.yellow; try { - const available = Object.keys(colors).filter(clr => { - if (color === colors.blue && clr === colors.purple) return false; - if (color === colors.purple && clr === colors.blue) return false; - return color !== clr; - }); + const available = Object.keys(colors).filter(clr => color !== clr); if (opponent.bot) { playerTwoEmoji = colors[available[Math.floor(Math.random() * available.length)]]; } else {