mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Update to latest
This commit is contained in:
@@ -22,10 +22,7 @@ module.exports = class DECTalkCommand extends Command {
|
||||
key: 'text',
|
||||
prompt: 'What text do you want to convert to TTS?',
|
||||
type: 'string',
|
||||
validate: text => {
|
||||
if (text.length < 1000) return true;
|
||||
return 'Invalid text, please keep the text under 1000 characters.';
|
||||
}
|
||||
max: 1000
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user