From abcec638a0077223bbc75de6092ae5da40b67d84 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 23 Nov 2018 02:19:05 +0000 Subject: [PATCH] Fix lint --- commands/games/word-chain.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/games/word-chain.js b/commands/games/word-chain.js index 401b9622..10082149 100644 --- a/commands/games/word-chain.js +++ b/commands/games/word-chain.js @@ -61,7 +61,8 @@ module.exports = class WordChainCommand extends Command { const player = userTurn ? msg.author : opponent; const letter = lastWord.charAt(lastWord.length - 1); await msg.say(`It's ${player}'s turn! The letter is **${letter}**.`); - const filter = res => res.author.id === player.id && /^[a-zA-Z']+$/i.test(res.content) && res.content.length < 50; + const filter = res => + res.author.id === player.id && /^[a-zA-Z']+$/i.test(res.content) && res.content.length < 50; const wordChoice = await msg.channel.awaitMessages(filter, { max: 1, time: time * 1000