mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 05:49:49 +02:00
Bug Fix
This commit is contained in:
@@ -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]+$/)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user