This commit is contained in:
Daniel Odendahl Jr
2017-06-14 14:18:15 +00:00
parent 35982baf56
commit 0840ca24f7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class HangmanCommand extends Command {
maxLength: -1,
api_key: WORDNIK_KEY
});
const { word } = body;
const word = body.word.toLowerCase().replace(/[ ]/g, '-');
let points = 0;
const confirmation = [];
const incorrect = [];