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
@@ -14,7 +14,6 @@ module.exports = class CommandLeaderboardCommand extends Command {
args: [
{
key: 'page',
prompt: 'What page do you want to view?',
type: 'integer',
default: 1,
min: 1
-2
View File
@@ -13,12 +13,10 @@ module.exports = class CreditCommand extends Command {
args: [
{
key: 'command',
prompt: 'Which command would you like to view the credits list of?',
type: 'command'
},
{
key: 'page',
prompt: 'What page do you want to view?',
type: 'integer',
default: 1,
min: 1
@@ -14,7 +14,6 @@ module.exports = class GroupLeaderboardCommand extends Command {
args: [
{
key: 'page',
prompt: 'What page do you want to view?',
type: 'integer',
default: 1,
min: 1
-1
View File
@@ -14,7 +14,6 @@ module.exports = class HelpCommand extends Command {
args: [
{
key: 'command',
prompt: 'Which command would you like to view the help for?',
type: 'command',
default: ''
}
@@ -14,7 +14,6 @@ module.exports = class LastRunLeaderboardCommand extends Command {
args: [
{
key: 'page',
prompt: 'What page do you want to view?',
type: 'integer',
default: 1,
min: 1
-1
View File
@@ -13,7 +13,6 @@ module.exports = class LastRunCommand extends Command {
args: [
{
key: 'command',
prompt: 'Which command would you like to view the last run date of?',
type: 'command'
}
]
-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'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class UsesCommand extends Command {
args: [
{
key: 'command',
prompt: 'Which command would you like to view the uses of?',
type: 'command'
}
]