From f608983300fe300ed68e3aac91b9d4155f1d5bba Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 8 Feb 2019 16:53:55 +0000 Subject: [PATCH] Uppercase --- commands/image-edit/meme-gen.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/image-edit/meme-gen.js b/commands/image-edit/meme-gen.js index 26b8b33a..b90da91a 100644 --- a/commands/image-edit/meme-gen.js +++ b/commands/image-edit/meme-gen.js @@ -23,13 +23,15 @@ module.exports = class MemeGenCommand extends Command { key: 'top', prompt: 'What should the something to believe in be?', type: 'string', - max: 50 + max: 50, + parse: top => top.toUpperCase() }, { key: 'bottom', prompt: 'What should believing result in (e.g. sacrificing everything)?', type: 'string', - max: 50 + max: 50, + parse: bottom => bottom.toUpperCase() }, { key: 'image',