From 1891a61749a9959b419486fefc107e135e6c8cc1 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 19 Apr 2017 19:01:51 +0000 Subject: [PATCH] One Final Fix --- commands/imageedit/meme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/imageedit/meme.js b/commands/imageedit/meme.js index 6bec0a9b..377235dc 100644 --- a/commands/imageedit/meme.js +++ b/commands/imageedit/meme.js @@ -31,7 +31,7 @@ module.exports = class MemeCommand extends Command { prompt: 'What should the top row of the meme to be?', type: 'string', validate: toprow => { - if (toprow.match(/^[a-zA-Z0-9.,!?'\s]+$/) && toprow.length < 101) { + if (toprow.match(/^[a-zA-Z0-9.,!?'\s]+$/) && toprow.length < 100) { return true; } return `Please do not use special characters and keep the rows under 100 characters each, you have ${toprow.length}.`; @@ -44,7 +44,7 @@ module.exports = class MemeCommand extends Command { prompt: 'What should the bottom row of the meme to be?', type: 'string', validate: bottomrow => { - if (bottomrow.match(/^[a-zA-Z0-9.,!?'\s]+$/) && bottomrow.length < 101) { + if (bottomrow.match(/^[a-zA-Z0-9.,!?'\s]+$/) && bottomrow.length < 100) { return true; } return `Please do not use special characters and keep the rows under 100 characters each, you have ${bottomrow.length}.`;