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.';