diff --git a/commands/random-res/acrostic.js b/commands/random-res/acrostic.js index 2eafe098..4bd0af9c 100644 --- a/commands/random-res/acrostic.js +++ b/commands/random-res/acrostic.js @@ -35,6 +35,7 @@ module.exports = class AcrosticCommand extends Command { run(msg, { word }) { const results = []; for (const letter of word) { + if (letter === ' ') results.push(' '); const filteredWords = words.filter(wrd => wrd.startsWith(letter.toLowerCase())); const chosen = filteredWords[Math.floor(Math.random() * filteredWords.length)]; results.push(`**${letter.toUpperCase()}**${chosen.slice(1)}`);