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
@@ -13,14 +13,12 @@ module.exports = class Base64Command extends Command {
args: [
{
key: 'mode',
prompt: `Would you like to ${list(modes, 'or')}?`,
type: 'string',
oneOf: modes,
parse: mode => mode.toLowerCase()
},
{
key: 'text',
prompt: 'What text would you like to convert to Base64?',
type: 'string',
validate: text => {
if (base64(text).length < 2000) return true;
-1
View File
@@ -10,7 +10,6 @@ module.exports = class BinaryCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to binary?',
type: 'string',
validate: text => {
if (this.binary(text).length < 2000) return true;
-1
View File
@@ -12,7 +12,6 @@ module.exports = class BrailleCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to braille?',
type: 'string',
validate: text => {
if (letterTrans(text, dictionary).length < 2000) return true;
-1
View File
@@ -27,7 +27,6 @@ module.exports = class BronySpeakCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to brony speak?',
type: 'string',
validate: text => {
if (wordTrans(text, dictionary).length < 2000) return true;
-1
View File
@@ -11,7 +11,6 @@ module.exports = class ClapCommand extends Command {
args: [
{
key: 'text',
prompt: 'What 👏 text 👏 would 👏 you 👏 like 👏 to 👏 convert?',
type: 'string',
validate: text => {
if (text.replaceAll(' ', ' 👏 ').length < 2000) return true;
-1
View File
@@ -19,7 +19,6 @@ module.exports = class CowSayCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like the cow to say?',
type: 'string',
max: 1000
}
-1
View File
@@ -12,7 +12,6 @@ module.exports = class CursiveCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to cursive?',
type: 'string',
validate: text => {
if (letterTrans(text, dictionary).length < 2000) return true;
-1
View File
@@ -12,7 +12,6 @@ module.exports = class DvorakCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to Dvorak encoding?',
type: 'string',
validate: text => {
if (letterTrans(text, dictionary).length < 2000) return true;
-1
View File
@@ -12,7 +12,6 @@ module.exports = class EmbedCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to embed?',
type: 'string'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class EmojifyCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to emoji?',
type: 'string',
validate: text => {
if (letterTrans(text.toLowerCase(), dictionary, ' ').length < 2000) return true;
-1
View File
@@ -12,7 +12,6 @@ module.exports = class FancyCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to fancy letters?',
type: 'string',
validate: text => {
if (letterTrans(text, dictionary).length < 2000) return true;
-1
View File
@@ -11,7 +11,6 @@ module.exports = class HexCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to hex?',
type: 'string',
validate: text => {
if (Buffer.from(text).toString('hex').length < 2000) return true;
-1
View File
@@ -12,7 +12,6 @@ module.exports = class HtmlDecodeCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to decode?',
type: 'string',
validate: text => {
if (decodeHTML(text).length < 2000) return true;
-1
View File
@@ -19,7 +19,6 @@ module.exports = class LeetCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to l33t speak?',
type: 'string',
max: 500
}
-1
View File
@@ -20,7 +20,6 @@ module.exports = class LolcatCommand extends Command {
{
key: 'from',
label: 'text',
prompt: 'What text would you like to convert to lolcat?',
type: 'string',
max: 500
}
-1
View File
@@ -11,7 +11,6 @@ module.exports = class LowercaseCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to lowercase?',
type: 'string'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class MD5Command extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to create an MD5 hash of?',
type: 'string'
}
]
-1
View File
@@ -12,7 +12,6 @@ module.exports = class MockingCommand extends Command {
args: [
{
key: 'text',
prompt: 'WHaT tEXt WoUlD yOu LiKE to COnvErt?',
type: 'string',
max: 1950,
parse: text => text.toLowerCase()
-1
View File
@@ -13,7 +13,6 @@ module.exports = class MorseCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to morse?',
type: 'string',
validate: text => {
if (letterTrans(text.toLowerCase(), dictionary, ' ').length < 2000) return true;
-1
View File
@@ -28,7 +28,6 @@ module.exports = class NobodyNameCommand extends Command {
args: [
{
key: 'text',
prompt: 'What name would you like to convert?',
type: 'string',
max: 1950,
parse: text => text.toLowerCase()
-1
View File
@@ -19,7 +19,6 @@ module.exports = class OwOCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to OwO?',
type: 'string',
validate: text => {
if (this.owo(text).length < 2000) return true;
-1
View File
@@ -10,7 +10,6 @@ module.exports = class PigLatinCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to pig latin?',
type: 'string',
validate: text => {
if (this.pigLatin(text).length < 2000) return true;
-1
View File
@@ -21,7 +21,6 @@ module.exports = class PirateCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to pirate?',
type: 'string',
validate: text => {
if (wordTrans(text, dictionary).length < 2000) return true;
-2
View File
@@ -10,14 +10,12 @@ module.exports = class RepeatCommand extends Command {
args: [
{
key: 'amount',
prompt: 'How many times do you want to repeat your text?',
type: 'integer',
min: 1,
max: 2000
},
{
key: 'text',
prompt: 'What text would you like to repeat over and over and over and over?',
type: 'string',
validate: text => {
if (!text.includes('@everyone') && !text.includes('@here')) return true;
-1
View File
@@ -10,7 +10,6 @@ module.exports = class ReverseCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to reverse?',
type: 'string'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class RomajiCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to romaji?',
type: 'string',
max: 500,
validate: text => Kuroshiro.Util.hasJapanese(text)
-1
View File
@@ -11,7 +11,6 @@ module.exports = class SayCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like me to say?',
type: 'string'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class SHA1Command extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to create an SHA-1 hash of?',
type: 'string'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class SHA256Command extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to create an SHA-256 hash of?',
type: 'string'
}
]
-2
View File
@@ -11,7 +11,6 @@ module.exports = class ShipNameCommand extends Command {
{
key: 'start',
label: 'start name',
prompt: 'What name should be at the start of the ship name?',
type: 'string',
max: 500,
parse: start => start.toLowerCase()
@@ -19,7 +18,6 @@ module.exports = class ShipNameCommand extends Command {
{
key: 'end',
label: 'end name',
prompt: 'What name should be at the end of the ship name?',
type: 'string',
max: 500,
parse: end => end.toLowerCase()
-1
View File
@@ -21,7 +21,6 @@ module.exports = class ShortenUrlCommand extends Command {
args: [
{
key: 'url',
prompt: 'What url would you like to shorten?',
type: 'string',
validate: url => {
if (encodeURI(url).length > 2083) return 'Your URL is too long.';
-1
View File
@@ -11,7 +11,6 @@ module.exports = class ShuffleCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to shuffle?',
type: 'string'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class SnakeSpeakCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to sssssnake ssssspeak?',
type: 'string',
validate: text => {
if (text.replace(/s/gi, 'sssss').length < 2000) return true;
-1
View File
@@ -11,7 +11,6 @@ module.exports = class SpoilerLetterCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert?',
type: 'string',
validate: text => {
if (`||${text.split('').join('||||')}||`.length < 2000) return true;
-1
View File
@@ -13,7 +13,6 @@ module.exports = class SuperscriptCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to tiny text?',
type: 'string'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class TebahplaCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to reverse the alphabet of?',
type: 'string'
}
]
-1
View File
@@ -25,7 +25,6 @@ module.exports = class TemmieCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to Temmie speak?',
type: 'string',
validate: text => {
if (this.temmize(text).length < 2000) return true;
-3
View File
@@ -25,13 +25,11 @@ module.exports = class TranslateCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to translate?',
type: 'string',
max: 500
},
{
key: 'target',
prompt: `Which language would you like to translate to? Either ${list(codes, 'or')}.`,
type: 'string',
validate: target => {
if (translate.languages.isSupported(target)) return true;
@@ -41,7 +39,6 @@ module.exports = class TranslateCommand extends Command {
},
{
key: 'base',
prompt: `Which language would you like to use as the base? Either ${list(Object.keys(codes), 'or')}.`,
type: 'string',
default: 'auto',
validate: base => {
-1
View File
@@ -10,7 +10,6 @@ module.exports = class TxtCommand extends Command {
args: [
{
key: 'content',
prompt: 'What content do you want to include in the TXT file?',
type: 'string'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class UnspoilerCommand extends Command {
args: [
{
key: 'message',
prompt: 'What message would you like to unspoiler?',
type: 'message'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class UppercaseCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to uppercase?',
type: 'string'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class UpsideDownCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to flip upside-down?',
type: 'string'
}
]
-1
View File
@@ -11,7 +11,6 @@ module.exports = class URLDecodeCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to decode?',
type: 'string',
validate: text => {
if (decodeURIComponent(text).length < 2000) return true;
-1
View File
@@ -11,7 +11,6 @@ module.exports = class URLEncodeCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to encode?',
type: 'string',
validate: text => {
if (encodeURIComponent(text).length < 2000) return true;
-1
View File
@@ -13,7 +13,6 @@ module.exports = class YodaCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to yoda speak?',
type: 'string'
}
]
-1
View File
@@ -19,7 +19,6 @@ module.exports = class ZalgoCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to zalgo?',
type: 'string',
max: 200
}