This commit is contained in:
Daniel Odendahl Jr
2017-04-05 17:30:11 +00:00
parent 332016ca5d
commit 4d613792bf
+1 -1
View File
@@ -25,7 +25,7 @@ module.exports = class MemeCommand extends commando.Command {
} }
}, { }, {
key: 'content', key: 'content',
prompt: 'What should the meme content be? Split the bottom and top text of the meme with ' | '.', prompt: 'What should the meme content be? Split the bottom and top text of the meme with " | ".',
type: 'string', type: 'string',
validate: content => { validate: content => {
if (content.includes(' | ') && content.match(/^[a-zA-Z0-9|.,!?'-\s]+$/)) { if (content.includes(' | ') && content.match(/^[a-zA-Z0-9|.,!?'-\s]+$/)) {