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
-1
View File
@@ -10,7 +10,6 @@ module.exports = class AgeCommand extends Command {
args: [
{
key: 'year',
prompt: 'What year would you like to get the age for?',
type: 'integer',
min: 1
}
-1
View File
@@ -18,7 +18,6 @@ module.exports = class AspectRatioCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to get the aspect ratio of?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class BirthstoneCommand extends Command {
args: [
{
key: 'month',
prompt: 'What month would you like to get the birthstone for?',
type: 'month'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class CharacterCountCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to get the character count of?',
type: 'message|string'
}
]
-1
View File
@@ -12,7 +12,6 @@ module.exports = class ChineseZodiacCommand extends Command {
args: [
{
key: 'year',
prompt: 'What year would you like to get the Chinese Zodiac Sign for?',
type: 'integer',
min: 1
}
-1
View File
@@ -19,7 +19,6 @@ module.exports = class DominantColorCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to test?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -17,7 +17,6 @@ module.exports = class FacesCommand extends Command {
args: [
{
key: 'image',
prompt: 'What face would you like to scan?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -19,7 +19,6 @@ module.exports = class GenderCommand extends Command {
args: [
{
key: 'name',
prompt: 'What name do you want to determine the gender of?',
type: 'string',
max: 20
}
-1
View File
@@ -12,7 +12,6 @@ module.exports = class GenerationCommand extends Command {
args: [
{
key: 'year',
prompt: 'What year would you like to get the Generation for?',
type: 'integer',
min: 1,
max: new Date().getFullYear()
-1
View File
@@ -17,7 +17,6 @@ module.exports = class ImageSizeCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to get the size of?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -19,7 +19,6 @@ module.exports = class IsItDownCommand extends Command {
args: [
{
key: 'url',
prompt: 'What URL do you want to test?',
type: 'url'
}
]
-2
View File
@@ -12,12 +12,10 @@ module.exports = class LevenshteinCommand extends Command {
args: [
{
key: 'text1',
prompt: 'What is the first text you would like to compare?',
type: 'string'
},
{
key: 'text2',
prompt: 'What is the second text you would like to compare?',
type: 'string'
}
]
-1
View File
@@ -25,7 +25,6 @@ module.exports = class NsfwImageCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to test?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -12,7 +12,6 @@ module.exports = class NsfwUrlCommand extends Command {
args: [
{
key: 'url',
prompt: 'What URL would you like to test?',
type: 'url'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class ParseTimeCommand extends Command {
args: [
{
key: 'time',
prompt: 'What do you want me to analyze?',
type: 'sherlock'
}
]
-1
View File
@@ -21,7 +21,6 @@ module.exports = class ReadQRCodeCommand extends Command {
args: [
{
key: 'image',
prompt: 'What QR Code would you like to read?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -21,7 +21,6 @@ module.exports = class ScrabbleScoreCommand extends Command {
args: [
{
key: 'word',
prompt: 'What word would you like to get the scrabble score of?',
type: 'string',
parse: word => word.toLowerCase()
}
-1
View File
@@ -25,7 +25,6 @@ module.exports = class ScreenshotCommand extends Command {
args: [
{
key: 'url',
prompt: 'What webpage do you want to take a screenshot of?',
type: 'url'
}
]
-2
View File
@@ -13,12 +13,10 @@ module.exports = class TextDiffCommand extends Command {
args: [
{
key: 'text1',
prompt: 'What is the first text you would like to compare?',
type: 'string'
},
{
key: 'text2',
prompt: 'What is the second text you would like to compare?',
type: 'string'
}
]
-1
View File
@@ -12,7 +12,6 @@ module.exports = class ValidUrlCommand extends Command {
args: [
{
key: 'url',
prompt: 'What URL would you like to test?',
type: 'string'
}
]
-2
View File
@@ -13,12 +13,10 @@ module.exports = class ZodiacSignCommand extends Command {
args: [
{
key: 'month',
prompt: 'What month would you like to get the Zodiac Sign for?',
type: 'month'
},
{
key: 'day',
prompt: 'What day would you like to get the Zodiac Sign for?',
type: 'integer',
min: 1,
max: 31
-1
View File
@@ -13,7 +13,6 @@ module.exports = class BeautifyCommand extends Command {
args: [
{
key: 'code',
prompt: 'What code do you want to beautify?',
type: 'code'
}
]
-2
View File
@@ -25,13 +25,11 @@ module.exports = class GithubCommand extends Command {
args: [
{
key: 'author',
prompt: 'Who is the author of the repository?',
type: 'string',
parse: author => encodeURIComponent(author)
},
{
key: 'repository',
prompt: 'What is the name of the repository?',
type: 'string',
parse: repository => encodeURIComponent(repository)
}
-1
View File
@@ -16,7 +16,6 @@ module.exports = class LintRuleCommand extends Command {
args: [
{
key: 'rule',
prompt: 'Which rule would you like to get information on?',
type: 'string',
parse: rule => rule.toLowerCase().replaceAll(' ', '-')
}
-1
View File
@@ -17,7 +17,6 @@ module.exports = class LintCommand extends Command {
args: [
{
key: 'code',
prompt: 'What code do you want to lint?',
type: 'code'
}
]
-1
View File
@@ -23,7 +23,6 @@ module.exports = class NPMCommand extends Command {
{
key: 'pkg',
label: 'package',
prompt: 'What package would you like to get information on?',
type: 'string',
parse: pkg => encodeURIComponent(pkg.replaceAll(' ', '-'))
}
-2
View File
@@ -18,12 +18,10 @@ module.exports = class AvatarFusionCommand extends Command {
args: [
{
key: 'overlay',
prompt: 'Which user would you like to put over the base?',
type: 'user'
},
{
key: 'base',
prompt: 'Which user would you like to be the base?',
type: 'user',
default: msg => msg.author
}
-2
View File
@@ -42,13 +42,11 @@ module.exports = class EjectCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
},
{
key: 'imposter',
prompt: 'Is the user an imposter?',
type: 'boolean',
default: ''
}
-1
View File
@@ -31,7 +31,6 @@ module.exports = class FireCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
}
-3
View File
@@ -3,7 +3,6 @@ const { createCanvas, loadImage } = require('canvas');
const request = require('node-superfetch');
const path = require('path');
const fs = require('fs');
const { list } = require('../../util/Util');
const hats = fs.readdirSync(path.join(__dirname, '..', '..', 'assets', 'images', 'hat'))
.map(hat => hat.replace('.png', ''));
@@ -125,14 +124,12 @@ module.exports = class HatCommand extends Command {
args: [
{
key: 'type',
prompt: `What type of hat would you like to use? Either ${list(hats, 'or')}.`,
type: 'string',
oneOf: hats,
parse: type => type.toLowerCase()
},
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
}
-1
View File
@@ -28,7 +28,6 @@ module.exports = class HeLivesInYouCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
}
-1
View File
@@ -28,7 +28,6 @@ module.exports = class HeartsCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class IHaveThePowerCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
}
-2
View File
@@ -34,14 +34,12 @@ module.exports = class RipCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
},
{
key: 'cause',
label: 'cause of death',
prompt: 'What was the cause of death?',
type: 'string',
default: ''
}
-1
View File
@@ -20,7 +20,6 @@ module.exports = class StatusButtonCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to get the status button of?',
type: 'user',
default: msg => msg.author
}
@@ -33,12 +33,10 @@ module.exports = class SteamNowPlayingCommand extends Command {
args: [
{
key: 'game',
prompt: 'Which game would you like the user to be playing?',
type: 'string'
},
{
key: 'user',
prompt: 'Which user would you like to be playing the game?',
type: 'user',
default: msg => msg.author
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class TriggeredCommand extends Command {
args: [
{
key: 'user',
prompt: 'Which user would you like to edit the avatar of?',
type: 'user',
default: msg => msg.author
}
-1
View File
@@ -18,7 +18,6 @@ module.exports = class AnimeEyesCommand extends Command {
args: [
{
key: 'image',
prompt: 'What face would you like to scan?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -25,7 +25,6 @@ module.exports = class DannyDevitoCommand extends Command {
args: [
{
key: 'image',
prompt: 'What face would you like to scan?',
type: 'image-or-avatar'
}
]
-2
View File
@@ -19,12 +19,10 @@ module.exports = class EmojiFaceCommand extends Command {
args: [
{
key: 'emoji',
prompt: 'What emoji do you want to draw?',
type: 'custom-emoji|default-emoji'
},
{
key: 'image',
prompt: 'What face would you like to scan?',
type: 'image-or-avatar'
}
]
-1
View File
@@ -17,7 +17,6 @@ module.exports = class EyesCommand extends Command {
args: [
{
key: 'image',
prompt: 'What face would you like to scan?',
type: 'image-or-avatar'
}
]
-2
View File
@@ -49,14 +49,12 @@ module.exports = class AceAttorneyCommand extends Command {
args: [
{
key: 'character',
prompt: `What character do you want to use? Either ${list(Object.keys(characters), 'or')}.`,
type: 'string',
oneOf: Object.values(characters).reduce((a, b) => a.concat(b)),
parse: character => character.toLowerCase()
},
{
key: 'quote',
prompt: 'What should the character say?',
type: 'string',
max: 250
}
-1
View File
@@ -38,7 +38,6 @@ module.exports = class AchievementCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the achievement be?',
type: 'string',
max: 50
}
@@ -37,20 +37,17 @@ module.exports = class AxisCultSignUpCommand extends Command {
args: [
{
key: 'gender',
prompt: 'What is your gender?',
type: 'string',
oneOf: ['male', 'female']
},
{
key: 'age',
prompt: 'How old are you?',
type: 'integer',
min: 1,
max: 10000
},
{
key: 'profession',
prompt: 'What is your profession?',
type: 'string',
max: 15
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class CautionCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text should the caution sign say?',
type: 'string',
max: 500
}
-2
View File
@@ -38,13 +38,11 @@ module.exports = class CertificateCommand extends Command {
args: [
{
key: 'reason',
prompt: 'What is the reason for the award?',
type: 'string',
max: 30
},
{
key: 'name',
prompt: 'What is the name of the person recieving the award?',
type: 'string',
max: 30,
default: msg => msg.author.username
@@ -33,7 +33,6 @@ module.exports = class ChineseRestaurantCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the sign be?',
type: 'string'
}
]
-1
View File
@@ -33,7 +33,6 @@ module.exports = class DangerCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text should the danger sign say?',
type: 'string',
max: 500
}
-2
View File
@@ -17,12 +17,10 @@ module.exports = class FontCommand extends Command {
args: [
{
key: 'font',
prompt: 'What font do you want to use? Only fonts used in other commands are available.',
type: 'font'
},
{
key: 'text',
prompt: 'What text do you want to type?',
type: 'string'
}
]
-1
View File
@@ -27,7 +27,6 @@ module.exports = class GandhiQuoteCommand extends Command {
args: [
{
key: 'quote',
prompt: 'What quote should Gandhi say?',
type: 'string',
max: 500
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class HighwaySignCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the sign be?',
type: 'string'
}
]
@@ -37,7 +37,6 @@ module.exports = class HollywoodStarCommand extends Command {
args: [
{
key: 'name',
prompt: 'What name should be on the star?',
type: 'string',
max: 30
}
@@ -31,7 +31,6 @@ module.exports = class JeopardyQuestionCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the question be?',
type: 'string',
max: 500
}
@@ -31,7 +31,6 @@ module.exports = class LicensePlateCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text should the license plate say?',
type: 'string',
max: 10
}
-1
View File
@@ -32,7 +32,6 @@ module.exports = class SpeedLimitCommand extends Command {
args: [
{
key: 'limit',
prompt: 'What limit should be on the sign?',
type: 'string',
max: 5
}
@@ -39,7 +39,6 @@ module.exports = class SpongebobTimeCardCommand extends Command {
args: [
{
key: 'text',
prompt: 'What should the text of the time card be?',
type: 'string',
max: 280
}
-2
View File
@@ -38,13 +38,11 @@ module.exports = class TweetCommand extends Command {
args: [
{
key: 'user',
prompt: 'What user should say the tweet? Use the handle, not the name.',
type: 'string',
max: 15
},
{
key: 'text',
prompt: 'What should the text of the tweet be?',
type: 'string',
max: 280
}
-3
View File
@@ -1,7 +1,6 @@
const Command = require('../../framework/Command');
const { createCanvas, loadImage } = require('canvas');
const path = require('path');
const { list } = require('../../util/Util');
const { wrapText } = require('../../util/Canvas');
const characters = require('../../assets/json/undertale');
@@ -61,14 +60,12 @@ module.exports = class UndertaleCommand extends Command {
args: [
{
key: 'character',
prompt: `What character do you want to use? Either ${list(characters, 'or')}.`,
type: 'string',
oneOf: characters,
parse: character => character.toLowerCase()
},
{
key: 'quote',
prompt: 'What should the character say?',
type: 'string',
max: 250
}
@@ -45,7 +45,6 @@ module.exports = class ZeroDialogueCommand extends Command {
args: [
{
key: 'quote',
prompt: 'What should Zero say?',
type: 'string',
max: 50
}
-1
View File
@@ -35,7 +35,6 @@ module.exports = class AnalogClockCommand extends Command {
{
key: 'timeZone',
label: 'time zone',
prompt: 'Which time zone do you want to get the time of?',
type: 'timezone'
}
]
-1
View File
@@ -28,7 +28,6 @@ module.exports = class ApprovedCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -17,7 +17,6 @@ module.exports = class AsciiCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -19,14 +19,12 @@ module.exports = class BlurCommand extends Command {
args: [
{
key: 'radius',
prompt: 'What blur radius would you like to use?',
type: 'integer',
max: 180,
min: 1
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class BobRossCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class BrazzersCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -25,7 +25,6 @@ module.exports = class CharcoalCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -19,13 +19,11 @@ module.exports = class ChocolateMilkCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 1024 })
},
{
key: 'direction',
prompt: 'What direction should the avatar face? Either right or left.',
type: 'string',
oneOf: ['left', 'right'],
default: 'left',
-1
View File
@@ -18,7 +18,6 @@ module.exports = class CircleCommand extends Command {
args: [
{
key: 'image',
prompt: 'Which image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -18,7 +18,6 @@ module.exports = class ColorCommand extends Command {
args: [
{
key: 'color',
prompt: 'What color do you want to view? This must be a #colorcode.',
type: 'string',
validate: color => /^#[0-9A-F]{6}$/i.test(color)
}
-1
View File
@@ -28,7 +28,6 @@ module.exports = class CommunistCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -18,7 +18,6 @@ module.exports = class ContrastCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-3
View File
@@ -1,7 +1,6 @@
const Command = require('../../framework/Command');
const { createCanvas, loadImage } = require('canvas');
const request = require('node-superfetch');
const { list } = require('../../util/Util');
const formats = {
jpg: 'image/jpeg',
jpeg: 'image/jpeg',
@@ -25,14 +24,12 @@ module.exports = class ConvertImageCommand extends Command {
args: [
{
key: 'format',
prompt: `What format do you want to convert the image to? Either ${list(Object.keys(formats), 'or')}.`,
type: 'string',
oneOf: Object.keys(formats),
parse: format => format.toLowerCase()
},
{
key: 'image',
prompt: 'Which image would you like to edit?',
type: 'image'
}
]
-1
View File
@@ -20,7 +20,6 @@ module.exports = class CreateQRCodeCommand extends Command {
args: [
{
key: 'text',
prompt: 'What text would you like to convert to a QR Code?',
type: 'string'
}
]
-2
View File
@@ -19,12 +19,10 @@ module.exports = class DesaturateCommand extends Command {
args: [
{
key: 'level',
prompt: 'What level of desaturation would you like to use?',
type: 'integer'
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class DexterCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 256 })
}
-2
View File
@@ -18,12 +18,10 @@ module.exports = class DistortCommand extends Command {
args: [
{
key: 'level',
prompt: 'What level of distortion would you like to use?',
type: 'integer'
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -25,7 +25,6 @@ module.exports = class EmbossCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -28,7 +28,6 @@ module.exports = class FireFrameCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -26,14 +26,12 @@ module.exports = class FishEyeCommand extends Command {
args: [
{
key: 'level',
prompt: 'What level of distortion would you like to use?',
type: 'integer',
min: 1,
max: 100
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-3
View File
@@ -2,7 +2,6 @@ const Command = require('../../framework/Command');
const { createCanvas, loadImage } = require('canvas');
const request = require('node-superfetch');
const path = require('path');
const { list } = require('../../util/Util');
const { centerImagePart } = require('../../util/Canvas');
const frames = require('../../assets/json/frame');
@@ -30,14 +29,12 @@ module.exports = class FrameCommand extends Command {
args: [
{
key: 'frame',
prompt: `What kind of frame do you want to use? Either ${list(Object.keys(frames), 'or')}.`,
type: 'string',
oneOf: Object.keys(frames),
parse: frame => frames[frame.toLowerCase()]
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -17,7 +17,6 @@ module.exports = class GhostCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -27,7 +27,6 @@ module.exports = class GlassShatterCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -18,7 +18,6 @@ module.exports = class GlitchCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -19,7 +19,6 @@ module.exports = class GreyscaleCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class GunCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -27,7 +27,6 @@ module.exports = class HandsCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -25,7 +25,6 @@ module.exports = class IfunnyCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -25,14 +25,12 @@ module.exports = class ImplodeCommand extends Command {
args: [
{
key: 'level',
prompt: 'What level would you like to use? From 1-100.',
type: 'integer',
min: 1,
max: 100
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -18,7 +18,6 @@ module.exports = class InvertCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -33,7 +33,6 @@ module.exports = class LegoIconCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class LiquidRescaleCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-3
View File
@@ -1,7 +1,6 @@
const Command = require('../../framework/Command');
const { createCanvas, loadImage } = require('canvas');
const request = require('node-superfetch');
const { list } = require('../../util/Util');
const types = ['x', 'y', 'both'];
module.exports = class MirrorCommand extends Command {
@@ -19,14 +18,12 @@ module.exports = class MirrorCommand extends Command {
args: [
{
key: 'type',
prompt: `What axis do you want to mirror? Either ${list(types, 'or')}.`,
type: 'string',
oneOf: types,
parse: type => type.toLowerCase()
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -19,7 +19,6 @@ module.exports = class MotionBlurCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -18,7 +18,6 @@ module.exports = class NeedsMoreJpegCommand extends Command {
args: [
{
key: 'quality',
prompt: 'What quality should the resulting image use?',
type: 'float',
default: 0.5,
min: 0.01,
@@ -26,7 +25,6 @@ module.exports = class NeedsMoreJpegCommand extends Command {
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -27,14 +27,12 @@ module.exports = class NoiseCommand extends Command {
args: [
{
key: 'type',
prompt: `What type of noise would you like to add? Either ${list(types, 'or')}.`,
type: 'string',
oneOf: types,
default: 'poisson'
},
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -26,7 +26,6 @@ module.exports = class OilPaintingCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-1
View File
@@ -22,7 +22,6 @@ module.exports = class PetCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 128 })
}
-1
View File
@@ -19,7 +19,6 @@ module.exports = class PixelizeCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}
-2
View File
@@ -27,7 +27,6 @@ module.exports = class PokemonFusionCommand extends Command {
args: [
{
key: 'body',
prompt: 'What Pokémon should be fused as the body?',
type: 'string',
default: () => pokeKeys[Math.floor(Math.random() * pokeKeys.length)],
validate: body => {
@@ -38,7 +37,6 @@ module.exports = class PokemonFusionCommand extends Command {
},
{
key: 'palette',
prompt: 'What Pokémon should be fused as the palette?',
type: 'string',
default: () => pokeKeys[Math.floor(Math.random() * pokeKeys.length)],
validate: palette => {
-1
View File
@@ -28,7 +28,6 @@ module.exports = class PoliceTapeCommand extends Command {
args: [
{
key: 'image',
prompt: 'What image would you like to edit?',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
}

Some files were not shown because too many files have changed in this diff Show More