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
-4
View File
@@ -1,6 +1,5 @@
const Command = require('../../framework/Command');
const { MessageEmbed } = require('discord.js');
const { list } = require('../../util/Util');
const types = ['reject', 'info', 'approve'];
const typesColors = ['RED', 'YELLOW', 'GREEN'];
const displaytypes = ['❌ Rejected', '❓ Need More Info', '✅ Accepted/Fixed'];
@@ -19,19 +18,16 @@ module.exports = class ReportRespondCommand extends Command {
args: [
{
key: 'user',
prompt: 'What user do you want to respond to?',
type: 'user'
},
{
key: 'type',
prompt: `What is the reason for your report? Either ${list(types, 'or')}.`,
type: 'string',
oneOf: types,
parse: type => types.indexOf(type.toLowerCase())
},
{
key: 'message',
prompt: 'What response do you want to send?',
type: 'string'
}
]