Remove prompt from all commands

This commit is contained in:
Dragon Fire
2024-03-30 00:30:52 -04:00
parent c258b41dae
commit 8d8198784e
400 changed files with 0 additions and 548 deletions
-2
View File
@@ -43,14 +43,12 @@ module.exports = class AnimaleseCommand extends Command {
args: [
{
key: 'pitch',
prompt: `What pitch do you want to use? Either ${list(Object.keys(pitches, 'or'))}.`,
type: 'string',
oneOf: Object.keys(pitches),
parse: pitch => pitches[pitch.toLowerCase()]
},
{
key: 'text',
prompt: 'What text should be said?',
type: 'string',
validate: text => {
if (!this.processScript(text)) return 'This text has no audible characters.';
-1
View File
@@ -38,7 +38,6 @@ module.exports = class DECTalkCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text do you want to say?',
type: 'string',
max: 1024
}
-1
View File
@@ -30,7 +30,6 @@ module.exports = class PlayCommand extends Command {
args: [
{
key: 'query',
prompt: 'What video would you like to play? Either a URL or search query.',
type: 'string'
}
]
-2
View File
@@ -29,14 +29,12 @@ module.exports = class TtsCommand extends Command {
args: [
{
key: 'accent',
prompt: `What accent do you want to use? Either ${list(accents, 'or')}.`,
type: 'string',
oneOf: accents,
parse: accent => accent.toUpperCase()
},
{
key: 'text',
prompt: 'What text do you want to say?',
type: 'string',
max: 200
}