diff --git a/src/games/mash.js b/src/games/mash.js index 7b40095..acb2c13 100644 --- a/src/games/mash.js +++ b/src/games/mash.js @@ -172,13 +172,13 @@ function onCommand(args, context) { return; } - if (!word && !mash) { - context.sendMessage(`Start a mash with ${config.prefix}mash {length}`, context.room.id); + if (!word && mash) { + context.sendMessage(`The current mash is: **${mash.anagram}**`, context.room.id); return; } - if (!word && mash) { - context.sendMessage(`The current mash is: **${mash.anagram}**`, context.room.id); + if (!word || !mash) { + context.sendMessage(`Start a mash with ${config.prefix}mash {length}`, context.room.id); return; }