diff --git a/lib/commands/Hangman.js b/lib/commands/Hangman.js index 732d4a9..ac597af 100644 --- a/lib/commands/Hangman.js +++ b/lib/commands/Hangman.js @@ -56,7 +56,7 @@ module.exports = new Command("Hangman", condition, function(text, send, userData if (guessedLetters.indexOf(letter) !== -1) { send("You already guessed this letter"); } else { - if (word.indexOf(letter) !== -1) { + if (word.toLowerCase().indexOf(letter.toLowerCase()) !== -1) { send("The letter is in the word!"); correctLetters.push(letter); } else {