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
@@ -1,7 +1,6 @@
const Command = require('../../framework/Command');
const { MessageEmbed, MessageActionRow, MessageButton } = require('discord.js');
const { Aki, regions } = require('aki-api');
const { list } = require('../../util/Util');
module.exports = class AkinatorCommand extends Command {
constructor(client) {
@@ -23,7 +22,6 @@ module.exports = class AkinatorCommand extends Command {
args: [
{
key: 'region',
prompt: `What region do you want to use? Either ${list(regions, 'or')}.`,
type: 'string',
default: 'en',
oneOf: regions,
-1
View File
@@ -26,7 +26,6 @@ module.exports = class AnagramicaCommand extends Command {
args: [
{
key: 'time',
prompt: 'How long should the game last in seconds? Max 90, min 15.',
type: 'integer',
default: 45,
max: 90,
-1
View File
@@ -17,7 +17,6 @@ module.exports = class BlackjackCommand extends Command {
{
key: 'deckCount',
label: 'amount of decks',
prompt: 'How many decks do you want to use?',
type: 'integer',
default: 1,
max: 8,
-1
View File
@@ -10,7 +10,6 @@ module.exports = class BubbleWrapCommand extends Command {
args: [
{
key: 'amount',
prompt: 'How many bubbles should there be?',
type: 'integer',
default: 156,
min: 1,
-1
View File
@@ -11,7 +11,6 @@ module.exports = class ChanceCommand extends Command {
args: [
{
key: 'chance',
prompt: 'What is the chance of winning? 1 in what?',
type: 'string',
default: 1000
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class DoorsCommand extends Command {
args: [
{
key: 'door',
prompt: 'Which door number do you want to pick? A number from 1-3.',
type: 'integer',
min: 1,
max: 3
-1
View File
@@ -33,7 +33,6 @@ module.exports = class GuessSongCommand extends Command {
args: [
{
key: 'chart',
prompt: `What chart do you want to use for the game? Either ${list(Object.keys(playlists, 'or'))}.`,
type: 'string',
oneOf: Object.keys(playlists),
parse: chart => chart.toLowerCase()
-1
View File
@@ -14,7 +14,6 @@ module.exports = class HorseInfoCommand extends Command {
args: [
{
key: 'horse',
prompt: 'Which horse would you like to get information on?',
type: 'string',
validate: horse => {
const valid = horses.filter(h => h.name.toLowerCase().includes(horse.toLowerCase()));
-1
View File
@@ -22,7 +22,6 @@ module.exports = class HungerGamesCommand extends Command {
args: [
{
key: 'tributes',
prompt: 'Who should compete in the games? Up to 24 tributes can participate.',
type: 'string',
infinite: true,
max: 20
-1
View File
@@ -13,7 +13,6 @@ module.exports = class LotteryCommand extends Command {
args: [
{
key: 'choices',
prompt: 'What numbers do you choose? Only the first six will be counted.',
type: 'integer',
infinite: true,
max: 70,
-2
View File
@@ -1,6 +1,5 @@
const Command = require('../../framework/Command');
const { stripIndents } = require('common-tags');
const { list } = require('../../util/Util');
const difficulties = ['baby', 'easy', 'medium', 'hard', 'extreme', 'impossible'];
const operations = ['+', '-', '*'];
const maxValues = {
@@ -31,7 +30,6 @@ module.exports = class MathQuizCommand extends Command {
args: [
{
key: 'difficulty',
prompt: `What should the difficulty of the game be? Either ${list(difficulties, 'or')}.`,
type: 'string',
oneOf: difficulties,
parse: difficulty => difficulty.toLowerCase()
-1
View File
@@ -15,7 +15,6 @@ module.exports = class MemoryCommand extends Command {
args: [
{
key: 'level',
prompt: 'How many directions do you want to have to memorize?',
type: 'integer',
min: 1,
max: 20
-1
View File
@@ -18,7 +18,6 @@ module.exports = class MinesweeperCommand extends Command {
args: [
{
key: 'size',
prompt: 'What size board do you want to use?',
type: 'integer',
default: 9,
max: 10,
-1
View File
@@ -25,7 +25,6 @@ module.exports = class QuizCommand extends Command {
args: [
{
key: 'difficulty',
prompt: `What should the difficulty of the game be? Either ${list(difficulties, 'or')}.`,
type: 'string',
default: '',
oneOf: difficulties,
-1
View File
@@ -12,7 +12,6 @@ module.exports = class RockPaperScissorsCommand extends Command {
args: [
{
key: 'choice',
prompt: 'Rock, Paper, or Scissors?',
type: 'string',
parse: choice => choice.toLowerCase()
}
-1
View File
@@ -19,7 +19,6 @@ module.exports = class RouletteCommand extends Command {
args: [
{
key: 'space',
prompt: 'What space do you want to bet on?',
type: 'string',
validate: space => {
if (numbers.includes(Number.parseInt(space, 10))) return true;
-1
View File
@@ -42,7 +42,6 @@ module.exports = class TarotCommand extends Command {
args: [
{
key: 'question',
prompt: 'What question should the tarot reading answer?',
type: 'string',
max: 50
}
-2
View File
@@ -2,7 +2,6 @@ const Command = require('../../framework/Command');
const { MessageActionRow, MessageButton } = require('discord.js');
const { stripIndents } = require('common-tags');
const request = require('node-superfetch');
const { list } = require('../../util/Util');
const difficulties = ['easy', 'medium', 'hard'];
module.exports = class TrueOrFalseCommand extends Command {
@@ -25,7 +24,6 @@ module.exports = class TrueOrFalseCommand extends Command {
args: [
{
key: 'difficulty',
prompt: `What should the difficulty of the game be? Either ${list(difficulties, 'or')}.`,
type: 'string',
default: '',
oneOf: difficulties,
@@ -67,7 +67,6 @@ module.exports = class WhosThatPokemonCryCommand extends Command {
args: [
{
key: 'pokemon',
prompt: 'What Pokémon do you want to use?',
type: 'integer',
max: client.pokemon.pokemonCountWithCry,
min: 0,
-1
View File
@@ -74,7 +74,6 @@ module.exports = class WhosThatPokemonCommand extends Command {
args: [
{
key: 'pokemon',
prompt: 'What Pokémon do you want to use?',
type: 'integer',
max: client.pokemon.pokemonCount,
min: 0,