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
-3
View File
@@ -1,6 +1,5 @@
const Command = require('../../framework/Command');
const { MessageEmbed } = require('discord.js');
const { list } = require('../../util/Util');
const reasons = ['bug', 'feedback', 'suggestion', 'abuse'];
const reasonColors = ['RED', 'GREEN', 'YELLOW', 'ORANGE'];
const displayReasons = ['🐛 Bug Report', '📬 Feedback', '❓ Suggestion', '⚠️ Abuse'];
@@ -17,14 +16,12 @@ module.exports = class ReportCommand extends Command {
args: [
{
key: 'reason',
prompt: `What is the reason for your report? Either ${list(reasons, 'or')}.`,
type: 'string',
oneOf: reasons,
parse: reason => reasons.indexOf(reason.toLowerCase())
},
{
key: 'message',
prompt: 'What is the message of your report? If you are reporting abuse, be sure to include IDs.',
type: 'string'
}
]