Specify that image commands also work on GIFs
This commit is contained in:
parent
afa9482ee8
commit
7248621048
59 changed files with 110 additions and 110 deletions
|
@ -125,7 +125,7 @@ class ImageCommand extends Command {
|
||||||
static requiresImage = true;
|
static requiresImage = true;
|
||||||
static requiresText = false;
|
static requiresText = false;
|
||||||
static requiresGIF = false;
|
static requiresGIF = false;
|
||||||
static noImage = "You need to provide an image!";
|
static noImage = "You need to provide an image/GIF!";
|
||||||
static noText = "You need to provide some text!";
|
static noText = "You need to provide some text!";
|
||||||
static command = "";
|
static command = "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ import imageDetect from "../../utils/imagedetect.js";
|
||||||
class QrReadCommand extends Command {
|
class QrReadCommand extends Command {
|
||||||
async run() {
|
async run() {
|
||||||
const image = await imageDetect(this.client, this.message);
|
const image = await imageDetect(this.client, this.message);
|
||||||
if (image === undefined) return "You need to provide an image with a QR code to read!";
|
if (image === undefined) return "You need to provide an image/GIF with a QR code to read!";
|
||||||
this.client.sendChannelTyping(this.message.channel.id);
|
this.client.sendChannelTyping(this.message.channel.id);
|
||||||
const data = await (await fetch(image.path)).buffer();
|
const data = await (await fetch(image.path)).buffer();
|
||||||
const rawData = await sharp(data).ensureAlpha().raw().toBuffer({ resolveWithObject: true });
|
const rawData = await sharp(data).ensureAlpha().raw().toBuffer({ resolveWithObject: true });
|
||||||
|
|
|
@ -5,7 +5,7 @@ class RawCommand extends Command {
|
||||||
async run() {
|
async run() {
|
||||||
this.client.sendChannelTyping(this.message.channel.id);
|
this.client.sendChannelTyping(this.message.channel.id);
|
||||||
const image = await imageDetect(this.client, this.message);
|
const image = await imageDetect(this.client, this.message);
|
||||||
if (image === undefined) return "You need to provide an image to get a raw URL!";
|
if (image === undefined) return "You need to provide an image/GIF to get a raw URL!";
|
||||||
return image.path;
|
return image.path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ class NineGagCommand extends ImageCommand {
|
||||||
static description = "Adds the 9GAG watermark to an image";
|
static description = "Adds the 9GAG watermark to an image";
|
||||||
static aliases = ["ninegag", "gag"];
|
static aliases = ["ninegag", "gag"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a 9GAG watermark!";
|
static noImage = "You need to provide an image/GIF to add a 9GAG watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class BandicamCommand extends ImageCommand {
|
||||||
static description = "Adds the Bandicam watermark to an image";
|
static description = "Adds the Bandicam watermark to an image";
|
||||||
static aliases = ["bandi"];
|
static aliases = ["bandi"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a Bandicam watermark!";
|
static noImage = "You need to provide an image/GIF to add a Bandicam watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ class BlurCommand extends ImageCommand {
|
||||||
|
|
||||||
static description = "Blurs an image";
|
static description = "Blurs an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to blur!";
|
static noImage = "You need to provide an image/GIF to blur!";
|
||||||
static command = "blur";
|
static command = "blur";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ class BlurpleCommand extends ImageCommand {
|
||||||
description: "Use the old blurple color"
|
description: "Use the old blurple color"
|
||||||
}];
|
}];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to make blurple!";
|
static noImage = "You need to provide an image/GIF to make blurple!";
|
||||||
static command = "colors";
|
static command = "colors";
|
||||||
static aliases = ["blurp"];
|
static aliases = ["blurp"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ class CaptionCommand extends ImageCommand {
|
||||||
|
|
||||||
static requiresText = true;
|
static requiresText = true;
|
||||||
static noText = "You need to provide some text to add a caption!";
|
static noText = "You need to provide some text to add a caption!";
|
||||||
static noImage = "You need to provide an image to add a caption!";
|
static noImage = "You need to provide an image/GIF to add a caption!";
|
||||||
static command = "caption";
|
static command = "caption";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ class CaptionTwoCommand extends ImageCommand {
|
||||||
}];
|
}];
|
||||||
|
|
||||||
static noText = "You need to provide some text to add a caption!";
|
static noText = "You need to provide some text to add a caption!";
|
||||||
static noImage = "You need to provide an image to add a caption!";
|
static noImage = "You need to provide an image/GIF to add a caption!";
|
||||||
static command = "captionTwo";
|
static command = "captionTwo";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class CircleCommand extends ImageCommand {
|
||||||
static description = "Applies a radial blur effect on an image";
|
static description = "Applies a radial blur effect on an image";
|
||||||
static aliases = ["cblur", "radial", "radialblur"];
|
static aliases = ["cblur", "radial", "radialblur"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add radial blur!";
|
static noImage = "You need to provide an image/GIF to add radial blur!";
|
||||||
static command = "circle";
|
static command = "circle";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
||||||
class CropCommand extends ImageCommand {
|
class CropCommand extends ImageCommand {
|
||||||
static description = "Crops an image to 1:1";
|
static description = "Crops an image to 1:1";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to crop!";
|
static noImage = "You need to provide an image/GIF to crop!";
|
||||||
static command = "crop";
|
static command = "crop";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class DeepfryCommand extends ImageCommand {
|
||||||
static description = "Deep-fries an image";
|
static description = "Deep-fries an image";
|
||||||
static aliases = ["fry", "jpeg2", "nuke", "df"];
|
static aliases = ["fry", "jpeg2", "nuke", "df"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to fry!";
|
static noImage = "You need to provide an image/GIF to fry!";
|
||||||
static command = "deepfry";
|
static command = "deepfry";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class DeviantArtCommand extends ImageCommand {
|
||||||
static description = "Adds a DeviantArt watermark to an image";
|
static description = "Adds a DeviantArt watermark to an image";
|
||||||
static aliases = ["da", "deviant"];
|
static aliases = ["da", "deviant"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a DeviantArt watermark!";
|
static noImage = "You need to provide an image/GIF to add a DeviantArt watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class ExplodeCommand extends ImageCommand {
|
||||||
static description = "Explodes an image";
|
static description = "Explodes an image";
|
||||||
static aliases = ["exp"];
|
static aliases = ["exp"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to explode!";
|
static noImage = "You need to provide an image/GIF to explode!";
|
||||||
static command = "explode";
|
static command = "explode";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class FlagCommand extends ImageCommand {
|
||||||
|
|
||||||
static requiresText = true;
|
static requiresText = true;
|
||||||
static noText = "You need to provide an emoji of a flag to overlay!";
|
static noText = "You need to provide an emoji of a flag to overlay!";
|
||||||
static noImage = "You need to provide an image to overlay a flag onto!";
|
static noImage = "You need to provide an image/GIF to overlay a flag onto!";
|
||||||
static command = "flag";
|
static command = "flag";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
||||||
class FlipCommand extends ImageCommand {
|
class FlipCommand extends ImageCommand {
|
||||||
static description = "Flips an image";
|
static description = "Flips an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to flip!";
|
static noImage = "You need to provide an image/GIF to flip!";
|
||||||
static command = "flip";
|
static command = "flip";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class FlopCommand extends ImageCommand {
|
||||||
static description = "Flips an image";
|
static description = "Flips an image";
|
||||||
static aliases = ["flip2"];
|
static aliases = ["flip2"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to flop!";
|
static noImage = "You need to provide an image/GIF to flop!";
|
||||||
static command = "flip";
|
static command = "flip";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ class FreezeCommand extends ImageCommand {
|
||||||
static arguments = ["{end frame number}"];
|
static arguments = ["{end frame number}"];
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to freeze!";
|
static noImage = "You need to provide an image/GIF to freeze!";
|
||||||
static command = "freeze";
|
static command = "freeze";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class FunkyCommand extends ImageCommand {
|
||||||
static description = "Adds the New Funky Mode banner to an image";
|
static description = "Adds the New Funky Mode banner to an image";
|
||||||
static aliases = ["funkymode", "newfunkymode", "funkykong"];
|
static aliases = ["funkymode", "newfunkymode", "funkykong"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a New Funky Mode banner!";
|
static noImage = "You need to provide an image/GIF to add a New Funky Mode banner!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class GameXplainCommand extends ImageCommand {
|
||||||
static description = "Makes a GameXplain thumbnail from an image";
|
static description = "Makes a GameXplain thumbnail from an image";
|
||||||
static aliases = ["gx"];
|
static aliases = ["gx"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to make a GameXplain thumbnail from!";
|
static noImage = "You need to provide an image/GIF to make a GameXplain thumbnail from!";
|
||||||
static command = "gamexplain";
|
static command = "gamexplain";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class GlobeCommand extends ImageCommand {
|
||||||
static description = "Spins an image";
|
static description = "Spins an image";
|
||||||
static aliases = ["sphere"];
|
static aliases = ["sphere"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to spin!";
|
static noImage = "You need to provide an image/GIF to spin!";
|
||||||
static command = "globe";
|
static command = "globe";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ class GrayscaleCommand extends ImageCommand {
|
||||||
|
|
||||||
static description = "Adds a grayscale filter";
|
static description = "Adds a grayscale filter";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to turn grayscale!";
|
static noImage = "You need to provide an image/GIF to turn grayscale!";
|
||||||
static command = "colors";
|
static command = "colors";
|
||||||
static aliases = ["gray", "greyscale", "grey"];
|
static aliases = ["gray", "greyscale", "grey"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ class HaaHCommand extends ImageCommand {
|
||||||
static description = "Mirrors the left side of an image onto the right";
|
static description = "Mirrors the left side of an image onto the right";
|
||||||
static aliases = ["magik4", "mirror2"];
|
static aliases = ["magik4", "mirror2"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to mirror!";
|
static noImage = "You need to provide an image/GIF to mirror!";
|
||||||
static command = "mirror";
|
static command = "mirror";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class HooHCommand extends ImageCommand {
|
||||||
static description = "Mirrors the bottom of an image onto the top";
|
static description = "Mirrors the bottom of an image onto the top";
|
||||||
static aliases = ["magik6", "mirror4"];
|
static aliases = ["magik6", "mirror4"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to mirror!";
|
static noImage = "You need to provide an image/GIF to mirror!";
|
||||||
static command = "mirror";
|
static command = "mirror";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class HypercamCommand extends ImageCommand {
|
||||||
static description = "Adds the Hypercam watermark to an image";
|
static description = "Adds the Hypercam watermark to an image";
|
||||||
static aliases = ["hcam"];
|
static aliases = ["hcam"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a Hypercam watermark!";
|
static noImage = "You need to provide an image/GIF to add a Hypercam watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class iFunnyCommand extends ImageCommand {
|
||||||
|
|
||||||
static description = "Adds the iFunny watermark to an image";
|
static description = "Adds the iFunny watermark to an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add an iFunny watermark!";
|
static noImage = "You need to provide an image/GIF to add an iFunny watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class ImplodeCommand extends ImageCommand {
|
||||||
static description = "Implodes an image";
|
static description = "Implodes an image";
|
||||||
static aliases = ["imp"];
|
static aliases = ["imp"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to implode!";
|
static noImage = "You need to provide an image/GIF to implode!";
|
||||||
static command = "explode";
|
static command = "explode";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class InvertCommand extends ImageCommand {
|
||||||
static description = "Inverts an image";
|
static description = "Inverts an image";
|
||||||
static aliases = ["inverse", "negate", "negative"];
|
static aliases = ["inverse", "negate", "negative"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to invert!";
|
static noImage = "You need to provide an image/GIF to invert!";
|
||||||
static command = "invert";
|
static command = "invert";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ class JPEGCommand extends ImageCommand {
|
||||||
static aliases = ["needsmorejpeg", "jpegify", "magik2", "morejpeg", "jpg", "quality"];
|
static aliases = ["needsmorejpeg", "jpegify", "magik2", "morejpeg", "jpg", "quality"];
|
||||||
static arguments = ["{quality}"];
|
static arguments = ["{quality}"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add more JPEG!";
|
static noImage = "You need to provide an image/GIF to add more JPEG!";
|
||||||
static command = "jpeg";
|
static command = "jpeg";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class KineMasterCommand extends ImageCommand {
|
||||||
static description = "Adds the KineMaster watermark to an image";
|
static description = "Adds the KineMaster watermark to an image";
|
||||||
static aliases = ["kine"];
|
static aliases = ["kine"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a KineMaster watermark!";
|
static noImage = "You need to provide an image/GIF to add a KineMaster watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class LeakCommand extends ImageCommand {
|
||||||
static description = "Creates a fake Smash leak thumbnail";
|
static description = "Creates a fake Smash leak thumbnail";
|
||||||
static aliases = ["smash", "laxchris", "ssbu", "smashleak"];
|
static aliases = ["smash", "laxchris", "ssbu", "smashleak"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to make a Smash leak thumbnail!";
|
static noImage = "You need to provide an image/GIF to make a Smash leak thumbnail!";
|
||||||
static command = "leak";
|
static command = "leak";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class MagikCommand extends ImageCommand {
|
||||||
static description = "Adds a content aware scale effect to an image";
|
static description = "Adds a content aware scale effect to an image";
|
||||||
static aliases = ["imagemagic", "imagemagick", "imagemagik", "magic", "magick", "cas", "liquid"];
|
static aliases = ["imagemagic", "imagemagick", "imagemagik", "magic", "magick", "cas", "liquid"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add some magik!";
|
static noImage = "You need to provide an image/GIF to add some magik!";
|
||||||
static command = "magik";
|
static command = "magik";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ class MemeCommand extends ImageCommand {
|
||||||
|
|
||||||
static requiresText = true;
|
static requiresText = true;
|
||||||
static noText = "You need to provide some text to generate a meme!";
|
static noText = "You need to provide some text to generate a meme!";
|
||||||
static noImage = "You need to provide an image to generate a meme!";
|
static noImage = "You need to provide an image/GIF to generate a meme!";
|
||||||
static command = "meme";
|
static command = "meme";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class MemeCenterCommand extends ImageCommand {
|
||||||
static description = "Adds the MemeCenter watermark to an image";
|
static description = "Adds the MemeCenter watermark to an image";
|
||||||
static aliases = ["memec", "mcenter"];
|
static aliases = ["memec", "mcenter"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a MemeCenter watermark!";
|
static noImage = "You need to provide an image/GIF to add a MemeCenter watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ class MotivateCommand extends ImageCommand {
|
||||||
|
|
||||||
static requiresText = true;
|
static requiresText = true;
|
||||||
static noText = "You need to provide some text to generate a motivational poster!";
|
static noText = "You need to provide some text to generate a motivational poster!";
|
||||||
static noImage = "You need to provide an image to generate a motivational poster!";
|
static noImage = "You need to provide an image/GIF to generate a motivational poster!";
|
||||||
static command = "motivate";
|
static command = "motivate";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class PixelateCommand extends ImageCommand {
|
||||||
static description = "Pixelates an image";
|
static description = "Pixelates an image";
|
||||||
static aliases = ["pixel", "small"];
|
static aliases = ["pixel", "small"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to pixelate!";
|
static noImage = "You need to provide an image/GIF to pixelate!";
|
||||||
static command = "resize";
|
static command = "resize";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ class ReverseCommand extends ImageCommand {
|
||||||
static aliases = ["backwards"];
|
static aliases = ["backwards"];
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to reverse!";
|
static noImage = "You need to provide an image/GIF to reverse!";
|
||||||
static command = "reverse";
|
static command = "reverse";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class ScottCommand extends ImageCommand {
|
||||||
static description = "Makes Scott the Woz show off an image";
|
static description = "Makes Scott the Woz show off an image";
|
||||||
static aliases = ["woz", "tv", "porn"];
|
static aliases = ["woz", "tv", "porn"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image for Scott to show off!";
|
static noImage = "You need to provide an image/GIF for Scott to show off!";
|
||||||
static command = "scott";
|
static command = "scott";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ class SepiaCommand extends ImageCommand {
|
||||||
|
|
||||||
static description = "Adds a sepia filter";
|
static description = "Adds a sepia filter";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a sepia filter!";
|
static noImage = "You need to provide an image/GIF to add a sepia filter!";
|
||||||
static command = "colors";
|
static command = "colors";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class SharpenCommand extends ImageCommand {
|
||||||
static description = "Sharpens an image";
|
static description = "Sharpens an image";
|
||||||
static aliases = ["sharp"];
|
static aliases = ["sharp"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to sharpen!";
|
static noImage = "You need to provide an image/GIF to sharpen!";
|
||||||
static command = "blur";
|
static command = "blur";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class ShutterstockCommand extends ImageCommand {
|
||||||
static description = "Adds the Shutterstock watermark to an image";
|
static description = "Adds the Shutterstock watermark to an image";
|
||||||
static aliases = ["stock", "stockphoto"];
|
static aliases = ["stock", "stockphoto"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to add a Shutterstock watermark!";
|
static noImage = "You need to provide an image/GIF to add a Shutterstock watermark!";
|
||||||
static command = "watermark";
|
static command = "watermark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ class SlowCommand extends ImageCommand {
|
||||||
static arguments = ["{multiplier}"];
|
static arguments = ["{multiplier}"];
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to slow down!";
|
static noImage = "You need to provide an image/GIF to slow down!";
|
||||||
static command = "speed";
|
static command = "speed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ class SnapchatCommand extends ImageCommand {
|
||||||
|
|
||||||
static requiresText = true;
|
static requiresText = true;
|
||||||
static noText = "You need to provide some text to add a caption!";
|
static noText = "You need to provide some text to add a caption!";
|
||||||
static noImage = "You need to provide an image to add a caption!";
|
static noImage = "You need to provide an image/GIF to add a caption!";
|
||||||
static command = "snapchat";
|
static command = "snapchat";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ class SooSCommand extends ImageCommand {
|
||||||
static aliases = ["bounce", "boomerang"];
|
static aliases = ["bounce", "boomerang"];
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to loop!";
|
static noImage = "You need to provide an image/GIF to loop!";
|
||||||
static command = "reverse";
|
static command = "reverse";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ class SpeedCommand extends ImageCommand {
|
||||||
static arguments = ["{multiplier}"];
|
static arguments = ["{multiplier}"];
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to speed up!";
|
static noImage = "You need to provide an image/GIF to speed up!";
|
||||||
static command = "speed";
|
static command = "speed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class SpinCommand extends ImageCommand {
|
||||||
static description = "Spins an image";
|
static description = "Spins an image";
|
||||||
static aliases = ["rotate"];
|
static aliases = ["rotate"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to spin!";
|
static noImage = "You need to provide an image/GIF to spin!";
|
||||||
static command = "spin";
|
static command = "spin";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class StretchCommand extends ImageCommand {
|
||||||
static description = "Stretches an image to a 4:3 aspect ratio";
|
static description = "Stretches an image to a 4:3 aspect ratio";
|
||||||
static aliases = ["aspect", "ratio", "aspect43", "43"];
|
static aliases = ["aspect", "ratio", "aspect43", "43"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to stretch!";
|
static noImage = "You need to provide an image/GIF to stretch!";
|
||||||
static command = "resize";
|
static command = "resize";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class SwirlCommand extends ImageCommand {
|
||||||
static description = "Swirls an image";
|
static description = "Swirls an image";
|
||||||
static aliases = ["whirlpool"];
|
static aliases = ["whirlpool"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to swirl!";
|
static noImage = "You need to provide an image/GIF to swirl!";
|
||||||
static command = "swirl";
|
static command = "swirl";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class TileCommand extends ImageCommand {
|
||||||
static description = "Creates a tile pattern from an image";
|
static description = "Creates a tile pattern from an image";
|
||||||
static aliases = ["wall2"];
|
static aliases = ["wall2"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to tile!";
|
static noImage = "You need to provide an image/GIF to tile!";
|
||||||
static command = "tile";
|
static command = "tile";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
||||||
class TrumpCommand extends ImageCommand {
|
class TrumpCommand extends ImageCommand {
|
||||||
static description = "Makes Trump display an image";
|
static description = "Makes Trump display an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image for Trump to display!";
|
static noImage = "You need to provide an image/GIF for Trump to display!";
|
||||||
static command = "trump";
|
static command = "trump";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
||||||
class UncaptionCommand extends ImageCommand {
|
class UncaptionCommand extends ImageCommand {
|
||||||
static description = "Removes the caption from an image";
|
static description = "Removes the caption from an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to uncaption!";
|
static noImage = "You need to provide an image/GIF to uncaption!";
|
||||||
static command = "uncaption";
|
static command = "uncaption";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class UnfreezeCommand extends ImageCommand {
|
||||||
static description = "Unfreezes an image sequence";
|
static description = "Unfreezes an image sequence";
|
||||||
|
|
||||||
static requiresGIF = true;
|
static requiresGIF = true;
|
||||||
static noImage = "You need to provide an image to unfreeze!";
|
static noImage = "You need to provide an image/GIF to unfreeze!";
|
||||||
static command = "freeze";
|
static command = "freeze";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class WaaWCommand extends ImageCommand {
|
||||||
static description = "Mirrors the right side of an image onto the left";
|
static description = "Mirrors the right side of an image onto the left";
|
||||||
static aliases = ["magik3", "mirror"];
|
static aliases = ["magik3", "mirror"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to mirror!";
|
static noImage = "You need to provide an image/GIF to mirror!";
|
||||||
static command = "mirror";
|
static command = "mirror";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
||||||
class WallCommand extends ImageCommand {
|
class WallCommand extends ImageCommand {
|
||||||
static description = "Creates a wall from an image";
|
static description = "Creates a wall from an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to make a wall!";
|
static noImage = "You need to provide an image/GIF to make a wall!";
|
||||||
static command = "wall";
|
static command = "wall";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ class WhoDidThisCommand extends ImageCommand {
|
||||||
static description = "Creates a \"WHO DID THIS\" meme from an image";
|
static description = "Creates a \"WHO DID THIS\" meme from an image";
|
||||||
static aliases = ["whodidthis"];
|
static aliases = ["whodidthis"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to make a \"who did this\" meme!";
|
static noImage = "You need to provide an image/GIF to make a \"who did this\" meme!";
|
||||||
static command = "wdt";
|
static command = "wdt";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ class WhisperCommand extends ImageCommand {
|
||||||
|
|
||||||
static requiresText = true;
|
static requiresText = true;
|
||||||
static noText = "You need to provide some text to add a caption!";
|
static noText = "You need to provide some text to add a caption!";
|
||||||
static noImage = "You need to provide an image to add a caption!";
|
static noImage = "You need to provide an image/GIF to add a caption!";
|
||||||
static command = "whisper";
|
static command = "whisper";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class WideCommand extends ImageCommand {
|
||||||
static description = "Stretches an image to 19x its width";
|
static description = "Stretches an image to 19x its width";
|
||||||
static aliases = ["w19", "wide19"];
|
static aliases = ["w19", "wide19"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to stretch!";
|
static noImage = "You need to provide an image/GIF to stretch!";
|
||||||
static command = "resize";
|
static command = "resize";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ class WooWCommand extends ImageCommand {
|
||||||
static description = "Mirrors the top of an image onto the bottom";
|
static description = "Mirrors the top of an image onto the bottom";
|
||||||
static aliases = ["magik5", "mirror3"];
|
static aliases = ["magik5", "mirror3"];
|
||||||
|
|
||||||
static noImage = "You need to provide an image to mirror!";
|
static noImage = "You need to provide an image/GIF to mirror!";
|
||||||
static command = "mirror";
|
static command = "mirror";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
||||||
class ZamnCommand extends ImageCommand {
|
class ZamnCommand extends ImageCommand {
|
||||||
static description = "Adds a \"ZAMN\" reaction to an image";
|
static description = "Adds a \"ZAMN\" reaction to an image";
|
||||||
|
|
||||||
static noImage = "You need to provide an image to \"ZAMN\" at!";
|
static noImage = "You need to provide an image/GIF to \"ZAMN\" at!";
|
||||||
static command = "zamn";
|
static command = "zamn";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue