diff --git a/commands/analyze/aspect-ratio.js b/commands/analyze/aspect-ratio.js index 62182ef8..bac83456 100644 --- a/commands/analyze/aspect-ratio.js +++ b/commands/analyze/aspect-ratio.js @@ -18,7 +18,8 @@ module.exports = class AspectRatioCommand extends Command { args: [ { key: 'image', - type: 'image-or-avatar' + type: 'image-or-avatar', + avatarSize: 256 } ] }); diff --git a/commands/analyze/dominant-color.js b/commands/analyze/dominant-color.js index 32172679..3c0e7021 100644 --- a/commands/analyze/dominant-color.js +++ b/commands/analyze/dominant-color.js @@ -19,7 +19,8 @@ module.exports = class DominantColorCommand extends Command { args: [ { key: 'image', - type: 'image-or-avatar' + type: 'image-or-avatar', + avatarSize: 256 } ] }); diff --git a/commands/analyze/nsfw-image.js b/commands/analyze/nsfw-image.js index b6f5a2b8..54ab7de8 100644 --- a/commands/analyze/nsfw-image.js +++ b/commands/analyze/nsfw-image.js @@ -24,7 +24,8 @@ module.exports = class NsfwImageCommand extends Command { args: [ { key: 'image', - type: 'image-or-avatar' + type: 'image-or-avatar', + avatarSize: 256 } ] }); diff --git a/commands/analyze/read-qr-code.js b/commands/analyze/read-qr-code.js index b6abe93e..306ab223 100644 --- a/commands/analyze/read-qr-code.js +++ b/commands/analyze/read-qr-code.js @@ -21,7 +21,8 @@ module.exports = class ReadQRCodeCommand extends Command { args: [ { key: 'image', - type: 'image-or-avatar' + type: 'image-or-avatar', + avatarSize: 256 } ] }); diff --git a/commands/edit-image/approved.js b/commands/edit-image/approved.js index 918255d5..0791588f 100644 --- a/commands/edit-image/approved.js +++ b/commands/edit-image/approved.js @@ -30,6 +30,7 @@ module.exports = class ApprovedCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/ascii.js b/commands/edit-image/ascii.js index ce85bad9..bafc5a30 100644 --- a/commands/edit-image/ascii.js +++ b/commands/edit-image/ascii.js @@ -18,6 +18,7 @@ module.exports = class AsciiCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/blur.js b/commands/edit-image/blur.js index 1778703d..3c2e6152 100644 --- a/commands/edit-image/blur.js +++ b/commands/edit-image/blur.js @@ -27,6 +27,7 @@ module.exports = class BlurCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/bob-ross.js b/commands/edit-image/bob-ross.js index 487561df..d78cfc87 100644 --- a/commands/edit-image/bob-ross.js +++ b/commands/edit-image/bob-ross.js @@ -35,6 +35,7 @@ module.exports = class BobRossCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/brazzers.js b/commands/edit-image/brazzers.js index 1d49438c..6cc4f3b0 100644 --- a/commands/edit-image/brazzers.js +++ b/commands/edit-image/brazzers.js @@ -28,6 +28,7 @@ module.exports = class BrazzersCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/charcoal.js b/commands/edit-image/charcoal.js index 1929f8e6..7fe3278d 100644 --- a/commands/edit-image/charcoal.js +++ b/commands/edit-image/charcoal.js @@ -27,6 +27,7 @@ module.exports = class CharcoalCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/chocolate-milk.js b/commands/edit-image/chocolate-milk.js index c834d1ce..7eb09393 100644 --- a/commands/edit-image/chocolate-milk.js +++ b/commands/edit-image/chocolate-milk.js @@ -21,6 +21,7 @@ module.exports = class ChocolateMilkCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) }, { diff --git a/commands/edit-image/circle.js b/commands/edit-image/circle.js index ccb8b006..3408565f 100644 --- a/commands/edit-image/circle.js +++ b/commands/edit-image/circle.js @@ -20,6 +20,7 @@ module.exports = class CircleCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/communist.js b/commands/edit-image/communist.js index 35a093cf..01604294 100644 --- a/commands/edit-image/communist.js +++ b/commands/edit-image/communist.js @@ -30,6 +30,7 @@ module.exports = class CommunistCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/contrast.js b/commands/edit-image/contrast.js index 2668c2f3..0ee6f043 100644 --- a/commands/edit-image/contrast.js +++ b/commands/edit-image/contrast.js @@ -20,6 +20,7 @@ module.exports = class ContrastCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/desaturate.js b/commands/edit-image/desaturate.js index d40e9d22..81d3114d 100644 --- a/commands/edit-image/desaturate.js +++ b/commands/edit-image/desaturate.js @@ -25,6 +25,7 @@ module.exports = class DesaturateCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/dexter.js b/commands/edit-image/dexter.js index fbe10b1d..07a7903c 100644 --- a/commands/edit-image/dexter.js +++ b/commands/edit-image/dexter.js @@ -28,6 +28,7 @@ module.exports = class DexterCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-image/distort.js b/commands/edit-image/distort.js index 5c0329b6..ac32e46b 100644 --- a/commands/edit-image/distort.js +++ b/commands/edit-image/distort.js @@ -24,6 +24,7 @@ module.exports = class DistortCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/emboss.js b/commands/edit-image/emboss.js index 444b9ef8..2510c0e6 100644 --- a/commands/edit-image/emboss.js +++ b/commands/edit-image/emboss.js @@ -27,6 +27,7 @@ module.exports = class EmbossCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/fire-frame.js b/commands/edit-image/fire-frame.js index 9e2dcaa4..a107d81b 100644 --- a/commands/edit-image/fire-frame.js +++ b/commands/edit-image/fire-frame.js @@ -30,6 +30,7 @@ module.exports = class FireFrameCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/fish-eye.js b/commands/edit-image/fish-eye.js index 77196d36..3508656b 100644 --- a/commands/edit-image/fish-eye.js +++ b/commands/edit-image/fish-eye.js @@ -34,6 +34,7 @@ module.exports = class FishEyeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/frame.js b/commands/edit-image/frame.js index 52a99cba..9351a69c 100644 --- a/commands/edit-image/frame.js +++ b/commands/edit-image/frame.js @@ -37,6 +37,7 @@ module.exports = class FrameCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/ghost.js b/commands/edit-image/ghost.js index dbbbfd58..d488c685 100644 --- a/commands/edit-image/ghost.js +++ b/commands/edit-image/ghost.js @@ -19,6 +19,7 @@ module.exports = class GhostCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/glass-shatter.js b/commands/edit-image/glass-shatter.js index afb18550..d77512c7 100644 --- a/commands/edit-image/glass-shatter.js +++ b/commands/edit-image/glass-shatter.js @@ -29,6 +29,7 @@ module.exports = class GlassShatterCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/glitch.js b/commands/edit-image/glitch.js index 7b5f755c..8b13f1ae 100644 --- a/commands/edit-image/glitch.js +++ b/commands/edit-image/glitch.js @@ -20,6 +20,7 @@ module.exports = class GlitchCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/greyscale.js b/commands/edit-image/greyscale.js index b8ce1178..36bd1cd3 100644 --- a/commands/edit-image/greyscale.js +++ b/commands/edit-image/greyscale.js @@ -21,6 +21,7 @@ module.exports = class GreyscaleCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/gun.js b/commands/edit-image/gun.js index b8d33670..acc11dc0 100644 --- a/commands/edit-image/gun.js +++ b/commands/edit-image/gun.js @@ -28,6 +28,7 @@ module.exports = class GunCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/hands.js b/commands/edit-image/hands.js index 67edd5f9..1b5d794d 100644 --- a/commands/edit-image/hands.js +++ b/commands/edit-image/hands.js @@ -29,6 +29,7 @@ module.exports = class HandsCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/ifunny.js b/commands/edit-image/ifunny.js index 607fe215..1abfcf0e 100644 --- a/commands/edit-image/ifunny.js +++ b/commands/edit-image/ifunny.js @@ -27,6 +27,7 @@ module.exports = class IfunnyCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/implode.js b/commands/edit-image/implode.js index 5ad531b0..e30b0e3c 100644 --- a/commands/edit-image/implode.js +++ b/commands/edit-image/implode.js @@ -33,6 +33,7 @@ module.exports = class ImplodeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/invert.js b/commands/edit-image/invert.js index 3722f024..a9bcf672 100644 --- a/commands/edit-image/invert.js +++ b/commands/edit-image/invert.js @@ -20,6 +20,7 @@ module.exports = class InvertCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/lego-icon.js b/commands/edit-image/lego-icon.js index 004cc06d..ca0f3de6 100644 --- a/commands/edit-image/lego-icon.js +++ b/commands/edit-image/lego-icon.js @@ -35,6 +35,7 @@ module.exports = class LegoIconCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/liquid-rescale.js b/commands/edit-image/liquid-rescale.js index 1a47d350..5a1c05e6 100644 --- a/commands/edit-image/liquid-rescale.js +++ b/commands/edit-image/liquid-rescale.js @@ -28,6 +28,7 @@ module.exports = class LiquidRescaleCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/mirror.js b/commands/edit-image/mirror.js index 38d518a7..b5ffe1e8 100644 --- a/commands/edit-image/mirror.js +++ b/commands/edit-image/mirror.js @@ -26,6 +26,7 @@ module.exports = class MirrorCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/motion-blur.js b/commands/edit-image/motion-blur.js index e2e6f168..b0f395c6 100644 --- a/commands/edit-image/motion-blur.js +++ b/commands/edit-image/motion-blur.js @@ -21,6 +21,7 @@ module.exports = class MotionBlurCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/needs-more-jpeg.js b/commands/edit-image/needs-more-jpeg.js index 87f5ff1f..583e62cd 100644 --- a/commands/edit-image/needs-more-jpeg.js +++ b/commands/edit-image/needs-more-jpeg.js @@ -27,6 +27,7 @@ module.exports = class NeedsMoreJpegCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/noise.js b/commands/edit-image/noise.js index 15cb33e6..32a41ca4 100644 --- a/commands/edit-image/noise.js +++ b/commands/edit-image/noise.js @@ -35,6 +35,7 @@ module.exports = class NoiseCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/oil-painting.js b/commands/edit-image/oil-painting.js index 8ab714f3..49b2e52f 100644 --- a/commands/edit-image/oil-painting.js +++ b/commands/edit-image/oil-painting.js @@ -28,6 +28,7 @@ module.exports = class OilPaintingCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/pet.js b/commands/edit-image/pet.js index b99076d5..e4c3e200 100644 --- a/commands/edit-image/pet.js +++ b/commands/edit-image/pet.js @@ -23,6 +23,7 @@ module.exports = class PetCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 128, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 128 }) } ] diff --git a/commands/edit-image/pixelize.js b/commands/edit-image/pixelize.js index 120a28c1..439c1d2f 100644 --- a/commands/edit-image/pixelize.js +++ b/commands/edit-image/pixelize.js @@ -21,6 +21,7 @@ module.exports = class PixelizeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/police-tape.js b/commands/edit-image/police-tape.js index 06f125e6..49030944 100644 --- a/commands/edit-image/police-tape.js +++ b/commands/edit-image/police-tape.js @@ -30,6 +30,7 @@ module.exports = class PoliceTapeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/rainbow.js b/commands/edit-image/rainbow.js index 56aa2b9a..7ddbf99a 100644 --- a/commands/edit-image/rainbow.js +++ b/commands/edit-image/rainbow.js @@ -21,6 +21,7 @@ module.exports = class RainbowCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/rejected.js b/commands/edit-image/rejected.js index 32abf572..29040482 100644 --- a/commands/edit-image/rejected.js +++ b/commands/edit-image/rejected.js @@ -30,6 +30,7 @@ module.exports = class RejctedCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/rotate.js b/commands/edit-image/rotate.js index 3cb7d5b0..3aaba2d6 100644 --- a/commands/edit-image/rotate.js +++ b/commands/edit-image/rotate.js @@ -25,6 +25,7 @@ module.exports = class RotateCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/sepia.js b/commands/edit-image/sepia.js index 7a976b78..fd169fae 100644 --- a/commands/edit-image/sepia.js +++ b/commands/edit-image/sepia.js @@ -20,6 +20,7 @@ module.exports = class SepiaCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/shake.js b/commands/edit-image/shake.js index 437838ab..706fb80b 100644 --- a/commands/edit-image/shake.js +++ b/commands/edit-image/shake.js @@ -27,6 +27,7 @@ module.exports = class ShakeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/silhouette.js b/commands/edit-image/silhouette.js index 76e5a7fd..e40d19f2 100644 --- a/commands/edit-image/silhouette.js +++ b/commands/edit-image/silhouette.js @@ -20,6 +20,7 @@ module.exports = class SilhouetteCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/sip.js b/commands/edit-image/sip.js index 021ade8b..5cf92df5 100644 --- a/commands/edit-image/sip.js +++ b/commands/edit-image/sip.js @@ -29,6 +29,7 @@ module.exports = class SipCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) }, { diff --git a/commands/edit-image/sketch.js b/commands/edit-image/sketch.js index 668ee352..4a5fd875 100644 --- a/commands/edit-image/sketch.js +++ b/commands/edit-image/sketch.js @@ -24,6 +24,7 @@ module.exports = class SketchCommand extends Command { key: 'image', type: 'image-or-avatar', maxAttachmentSize: 2e+6, + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/snapchat.js b/commands/edit-image/snapchat.js index 57e6674a..5c82dba0 100644 --- a/commands/edit-image/snapchat.js +++ b/commands/edit-image/snapchat.js @@ -38,6 +38,7 @@ module.exports = class SnapchatCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/spotify-now-playing.js b/commands/edit-image/spotify-now-playing.js index f42acaab..a98b5463 100644 --- a/commands/edit-image/spotify-now-playing.js +++ b/commands/edit-image/spotify-now-playing.js @@ -50,6 +50,7 @@ module.exports = class SpotifyNowPlayingCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-image/square.js b/commands/edit-image/square.js index 8b57079e..3953430b 100644 --- a/commands/edit-image/square.js +++ b/commands/edit-image/square.js @@ -19,6 +19,7 @@ module.exports = class SquareCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/squish.js b/commands/edit-image/squish.js index 29bb87c0..7cf460c8 100644 --- a/commands/edit-image/squish.js +++ b/commands/edit-image/squish.js @@ -34,6 +34,7 @@ module.exports = class SquishCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/steam-card.js b/commands/edit-image/steam-card.js index 5ad75431..0bc4d530 100644 --- a/commands/edit-image/steam-card.js +++ b/commands/edit-image/steam-card.js @@ -46,6 +46,7 @@ module.exports = class SteamCardCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-image/subtitle.js b/commands/edit-image/subtitle.js index 87094623..35e8ef26 100644 --- a/commands/edit-image/subtitle.js +++ b/commands/edit-image/subtitle.js @@ -34,6 +34,7 @@ module.exports = class SubtitleCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/swirl.js b/commands/edit-image/swirl.js index de076976..5655d8a3 100644 --- a/commands/edit-image/swirl.js +++ b/commands/edit-image/swirl.js @@ -33,6 +33,7 @@ module.exports = class SwirlCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/tint.js b/commands/edit-image/tint.js index 8a22644f..dd30f8f1 100644 --- a/commands/edit-image/tint.js +++ b/commands/edit-image/tint.js @@ -25,6 +25,7 @@ module.exports = class TintCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/vignette.js b/commands/edit-image/vignette.js index 9cac185e..c6b8d5e6 100644 --- a/commands/edit-image/vignette.js +++ b/commands/edit-image/vignette.js @@ -20,6 +20,7 @@ module.exports = class VignetteCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/wanted.js b/commands/edit-image/wanted.js index 5b484598..a1ae325d 100644 --- a/commands/edit-image/wanted.js +++ b/commands/edit-image/wanted.js @@ -30,6 +30,7 @@ module.exports = class WantedCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-image/wild-pokemon.js b/commands/edit-image/wild-pokemon.js index 92db05a2..8754a322 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -40,6 +40,7 @@ module.exports = class WildPokemonCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 128, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 128 }) } ] diff --git a/commands/edit-image/you-died.js b/commands/edit-image/you-died.js index 2f7e25ca..f1c6c380 100644 --- a/commands/edit-image/you-died.js +++ b/commands/edit-image/you-died.js @@ -29,6 +29,7 @@ module.exports = class YouDiedCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/3000-years.js b/commands/edit-meme/3000-years.js index e8745642..56c1b451 100644 --- a/commands/edit-meme/3000-years.js +++ b/commands/edit-meme/3000-years.js @@ -29,6 +29,7 @@ module.exports = class ThreeThousandYearsCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/bottom-text.js b/commands/edit-meme/bottom-text.js index 99c79b80..3501e156 100644 --- a/commands/edit-meme/bottom-text.js +++ b/commands/edit-meme/bottom-text.js @@ -31,7 +31,8 @@ module.exports = class BottomTextCommand extends Command { { key: 'image', type: 'image-or-avatar', - default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 }) + avatarSize: 512, + default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] }); diff --git a/commands/edit-meme/challenger.js b/commands/edit-meme/challenger.js index 8cc48a0b..aa8c5126 100644 --- a/commands/edit-meme/challenger.js +++ b/commands/edit-meme/challenger.js @@ -102,6 +102,7 @@ module.exports = class ChallengerCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/crush.js b/commands/edit-meme/crush.js index 76b88a45..0cc428bb 100644 --- a/commands/edit-meme/crush.js +++ b/commands/edit-meme/crush.js @@ -30,6 +30,7 @@ module.exports = class CrushCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/deep-fry.js b/commands/edit-meme/deep-fry.js index 4d7dc927..9c8fda16 100644 --- a/commands/edit-meme/deep-fry.js +++ b/commands/edit-meme/deep-fry.js @@ -20,6 +20,7 @@ module.exports = class DeepFryCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/demotivational.js b/commands/edit-meme/demotivational.js index a79045a2..e24b2ce1 100644 --- a/commands/edit-meme/demotivational.js +++ b/commands/edit-meme/demotivational.js @@ -40,6 +40,7 @@ module.exports = class DemotivationalCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/dislike.js b/commands/edit-meme/dislike.js index 6295bae5..1cc7fde1 100644 --- a/commands/edit-meme/dislike.js +++ b/commands/edit-meme/dislike.js @@ -29,6 +29,7 @@ module.exports = class DislikeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) } ] diff --git a/commands/edit-meme/enslaved.js b/commands/edit-meme/enslaved.js index a7166c02..09ceff1b 100644 --- a/commands/edit-meme/enslaved.js +++ b/commands/edit-meme/enslaved.js @@ -35,6 +35,7 @@ module.exports = class EnslavedCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/for-five-hours.js b/commands/edit-meme/for-five-hours.js index 7f1f0aa2..e6d08692 100644 --- a/commands/edit-meme/for-five-hours.js +++ b/commands/edit-meme/for-five-hours.js @@ -29,6 +29,7 @@ module.exports = class ForFiveHoursCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) } ] diff --git a/commands/edit-meme/girl-worth-fighting-for.js b/commands/edit-meme/girl-worth-fighting-for.js index e764c896..d9fe9b77 100644 --- a/commands/edit-meme/girl-worth-fighting-for.js +++ b/commands/edit-meme/girl-worth-fighting-for.js @@ -36,6 +36,7 @@ module.exports = class GirlWorthFightingForCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/i-fear-no-man.js b/commands/edit-meme/i-fear-no-man.js index 6abeb3df..15c73dea 100644 --- a/commands/edit-meme/i-fear-no-man.js +++ b/commands/edit-meme/i-fear-no-man.js @@ -30,6 +30,7 @@ module.exports = class IFearNoManCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/kyon-gun.js b/commands/edit-meme/kyon-gun.js index 45bc3d55..6da461d0 100644 --- a/commands/edit-meme/kyon-gun.js +++ b/commands/edit-meme/kyon-gun.js @@ -34,6 +34,7 @@ module.exports = class KyonGunCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/like.js b/commands/edit-meme/like.js index 743c5f06..b18be13b 100644 --- a/commands/edit-meme/like.js +++ b/commands/edit-meme/like.js @@ -29,6 +29,7 @@ module.exports = class LikeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) } ] diff --git a/commands/edit-meme/look-at-this-photograph.js b/commands/edit-meme/look-at-this-photograph.js index 513e7ace..af22a8a5 100644 --- a/commands/edit-meme/look-at-this-photograph.js +++ b/commands/edit-meme/look-at-this-photograph.js @@ -29,6 +29,7 @@ module.exports = class LookAtThisPhotographCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/look-what-karen-have.js b/commands/edit-meme/look-what-karen-have.js index 6d6a4f8c..a484a94a 100644 --- a/commands/edit-meme/look-what-karen-have.js +++ b/commands/edit-meme/look-what-karen-have.js @@ -35,6 +35,7 @@ module.exports = class LookWhatKarenHaveCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/meme-gen.js b/commands/edit-meme/meme-gen.js index d983292d..eeb543ec 100644 --- a/commands/edit-meme/meme-gen.js +++ b/commands/edit-meme/meme-gen.js @@ -41,7 +41,8 @@ module.exports = class MemeGenCommand extends Command { { key: 'image', type: 'image-or-avatar', - default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 }) + avatarSize: 512, + default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] }); diff --git a/commands/edit-meme/metamorphosis.js b/commands/edit-meme/metamorphosis.js index 17178347..8dfac39b 100644 --- a/commands/edit-meme/metamorphosis.js +++ b/commands/edit-meme/metamorphosis.js @@ -41,6 +41,7 @@ module.exports = class MetamorphosisCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/my-collection-grows.js b/commands/edit-meme/my-collection-grows.js index 92bdbae5..76bd0d7e 100644 --- a/commands/edit-meme/my-collection-grows.js +++ b/commands/edit-meme/my-collection-grows.js @@ -30,6 +30,7 @@ module.exports = class MyCollectionGrowsCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/nike-ad.js b/commands/edit-meme/nike-ad.js index 478e2d45..2e239050 100644 --- a/commands/edit-meme/nike-ad.js +++ b/commands/edit-meme/nike-ad.js @@ -45,7 +45,8 @@ module.exports = class NikeAdCommand extends Command { { key: 'image', type: 'image-or-avatar', - default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 }) + avatarSize: 512, + default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] }); diff --git a/commands/edit-meme/reaction-meme.js b/commands/edit-meme/reaction-meme.js index b23458ba..a999fd43 100644 --- a/commands/edit-meme/reaction-meme.js +++ b/commands/edit-meme/reaction-meme.js @@ -33,6 +33,7 @@ module.exports = class ReactionMemeCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) } ] diff --git a/commands/edit-meme/sexy-singles.js b/commands/edit-meme/sexy-singles.js index 0093fc32..70d89a64 100644 --- a/commands/edit-meme/sexy-singles.js +++ b/commands/edit-meme/sexy-singles.js @@ -23,6 +23,7 @@ module.exports = class SexySinglesCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 1024, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) } ] diff --git a/commands/edit-meme/skyrim-skill.js b/commands/edit-meme/skyrim-skill.js index 10487654..2248c482 100644 --- a/commands/edit-meme/skyrim-skill.js +++ b/commands/edit-meme/skyrim-skill.js @@ -41,7 +41,8 @@ module.exports = class SkyrimSkillCommand extends Command { { key: 'image', type: 'image-or-avatar', - default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 }) + avatarSize: 1024, + default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 }) } ] }); diff --git a/commands/edit-meme/sora-selfie.js b/commands/edit-meme/sora-selfie.js index d2a5e5ff..39e43d12 100644 --- a/commands/edit-meme/sora-selfie.js +++ b/commands/edit-meme/sora-selfie.js @@ -35,6 +35,7 @@ module.exports = class SoraSelfieCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/this-guy.js b/commands/edit-meme/this-guy.js index 8fa08fad..e2b538ec 100644 --- a/commands/edit-meme/this-guy.js +++ b/commands/edit-meme/this-guy.js @@ -30,6 +30,7 @@ module.exports = class ThisGuyCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/thug-life.js b/commands/edit-meme/thug-life.js index 8ac0bfe6..7aedb481 100644 --- a/commands/edit-meme/thug-life.js +++ b/commands/edit-meme/thug-life.js @@ -30,7 +30,8 @@ module.exports = class ThugLifeCommand extends Command { { key: 'image', type: 'image-or-avatar', - default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 }) + avatarSize: 512, + default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] }); diff --git a/commands/edit-meme/to-be-continued.js b/commands/edit-meme/to-be-continued.js index 9e1157dd..8ae96fd9 100644 --- a/commands/edit-meme/to-be-continued.js +++ b/commands/edit-meme/to-be-continued.js @@ -29,6 +29,7 @@ module.exports = class ToBeContinuedCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/commands/edit-meme/ugly.js b/commands/edit-meme/ugly.js index 7045a8ec..97f267a1 100644 --- a/commands/edit-meme/ugly.js +++ b/commands/edit-meme/ugly.js @@ -30,6 +30,7 @@ module.exports = class UglyCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/ultimate-tattoo.js b/commands/edit-meme/ultimate-tattoo.js index 65439a81..47f7d96a 100644 --- a/commands/edit-meme/ultimate-tattoo.js +++ b/commands/edit-meme/ultimate-tattoo.js @@ -30,6 +30,7 @@ module.exports = class UltimateTattooCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 256, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 }) } ] diff --git a/commands/edit-meme/vietnam-flashbacks.js b/commands/edit-meme/vietnam-flashbacks.js index e597af6a..d78d3775 100644 --- a/commands/edit-meme/vietnam-flashbacks.js +++ b/commands/edit-meme/vietnam-flashbacks.js @@ -28,7 +28,8 @@ module.exports = class VietnamFlashbacksCommand extends Command { { key: 'image', type: 'image-or-avatar', - default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 }) + avatarSize: 512, + default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] }); diff --git a/commands/edit-meme/worthless.js b/commands/edit-meme/worthless.js index 72c25514..17d69898 100644 --- a/commands/edit-meme/worthless.js +++ b/commands/edit-meme/worthless.js @@ -30,6 +30,7 @@ module.exports = class WorthlessCommand extends Command { { key: 'image', type: 'image-or-avatar', + avatarSize: 512, default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 }) } ] diff --git a/types/image-or-avatar.js b/types/image-or-avatar.js index 52ecdeca..ae6e03ad 100644 --- a/types/image-or-avatar.js +++ b/types/image-or-avatar.js @@ -15,7 +15,7 @@ module.exports = class ImageOrAvatarArgument extends Argument { const image = this.client.registry.types.get('image').parse(value, msg, arg); if (image) return image; const user = await this.client.registry.types.get('user').parse(value, msg, arg); - return user.displayAvatarURL({ extension: 'png', size: arg.avatarSize || 512 }); + return user.displayAvatarURL({ extension: 'png', size: arg.avatarSize }); } isEmpty(value, msg, arg) {