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
@@ -49,14 +49,12 @@ module.exports = class AceAttorneyCommand extends Command {
args: [
{
key: 'character',
prompt: `What character do you want to use? Either ${list(Object.keys(characters), 'or')}.`,
type: 'string',
oneOf: Object.values(characters).reduce((a, b) => a.concat(b)),
parse: character => character.toLowerCase()
},
{
key: 'quote',
prompt: 'What should the character say?',
type: 'string',
max: 250
}
-1
View File
@@ -38,7 +38,6 @@ module.exports = class AchievementCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the achievement be?',
type: 'string',
max: 50
}
@@ -37,20 +37,17 @@ module.exports = class AxisCultSignUpCommand extends Command {
args: [
{
key: 'gender',
prompt: 'What is your gender?',
type: 'string',
oneOf: ['male', 'female']
},
{
key: 'age',
prompt: 'How old are you?',
type: 'integer',
min: 1,
max: 10000
},
{
key: 'profession',
prompt: 'What is your profession?',
type: 'string',
max: 15
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class CautionCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text should the caution sign say?',
type: 'string',
max: 500
}
-2
View File
@@ -38,13 +38,11 @@ module.exports = class CertificateCommand extends Command {
args: [
{
key: 'reason',
prompt: 'What is the reason for the award?',
type: 'string',
max: 30
},
{
key: 'name',
prompt: 'What is the name of the person recieving the award?',
type: 'string',
max: 30,
default: msg => msg.author.username
@@ -33,7 +33,6 @@ module.exports = class ChineseRestaurantCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the sign be?',
type: 'string'
}
]
-1
View File
@@ -33,7 +33,6 @@ module.exports = class DangerCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text should the danger sign say?',
type: 'string',
max: 500
}
-2
View File
@@ -17,12 +17,10 @@ module.exports = class FontCommand extends Command {
args: [
{
key: 'font',
prompt: 'What font do you want to use? Only fonts used in other commands are available.',
type: 'font'
},
{
key: 'text',
prompt: 'What text do you want to type?',
type: 'string'
}
]
-1
View File
@@ -27,7 +27,6 @@ module.exports = class GandhiQuoteCommand extends Command {
args: [
{
key: 'quote',
prompt: 'What quote should Gandhi say?',
type: 'string',
max: 500
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class HighwaySignCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the sign be?',
type: 'string'
}
]
@@ -37,7 +37,6 @@ module.exports = class HollywoodStarCommand extends Command {
args: [
{
key: 'name',
prompt: 'What name should be on the star?',
type: 'string',
max: 30
}
@@ -31,7 +31,6 @@ module.exports = class JeopardyQuestionCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the question be?',
type: 'string',
max: 500
}
@@ -31,7 +31,6 @@ module.exports = class LicensePlateCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text should the license plate say?',
type: 'string',
max: 10
}
-1
View File
@@ -32,7 +32,6 @@ module.exports = class SpeedLimitCommand extends Command {
args: [
{
key: 'limit',
prompt: 'What limit should be on the sign?',
type: 'string',
max: 5
}
@@ -39,7 +39,6 @@ module.exports = class SpongebobTimeCardCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the time card be?',
type: 'string',
max: 280
}
-2
View File
@@ -38,13 +38,11 @@ module.exports = class TweetCommand extends Command {
args: [
{
key: 'user',
prompt: 'What user should say the tweet? Use the handle, not the name.',
type: 'string',
max: 15
},
{
key: 'text',
prompt: 'What should the text of the tweet be?',
type: 'string',
max: 280
}
-3
View File
@@ -1,7 +1,6 @@
const Command = require('../../framework/Command');
const { createCanvas, loadImage } = require('canvas');
const path = require('path');
const { list } = require('../../util/Util');
const { wrapText } = require('../../util/Canvas');
const characters = require('../../assets/json/undertale');
@@ -61,14 +60,12 @@ module.exports = class UndertaleCommand extends Command {
args: [
{
key: 'character',
prompt: `What character do you want to use? Either ${list(characters, 'or')}.`,
type: 'string',
oneOf: characters,
parse: character => character.toLowerCase()
},
{
key: 'quote',
prompt: 'What should the character say?',
type: 'string',
max: 250
}
@@ -45,7 +45,6 @@ module.exports = class ZeroDialogueCommand extends Command {
args: [
{
key: 'quote',
prompt: 'What should Zero say?',
type: 'string',
max: 50
}