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 requiresText = 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 command = "";
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import imageDetect from "../../utils/imagedetect.js";
|
|||
class QrReadCommand extends Command {
|
||||
async run() {
|
||||
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);
|
||||
const data = await (await fetch(image.path)).buffer();
|
||||
const rawData = await sharp(data).ensureAlpha().raw().toBuffer({ resolveWithObject: true });
|
||||
|
@ -20,4 +20,4 @@ class QrReadCommand extends Command {
|
|||
static description = "Reads a QR code";
|
||||
}
|
||||
|
||||
export default QrReadCommand;
|
||||
export default QrReadCommand;
|
||||
|
|
|
@ -5,7 +5,7 @@ class RawCommand extends Command {
|
|||
async run() {
|
||||
this.client.sendChannelTyping(this.message.channel.id);
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -13,4 +13,4 @@ class RawCommand extends Command {
|
|||
static aliases = ["gif", "getgif", "giflink", "imglink", "getimg", "rawgif", "rawimg"];
|
||||
}
|
||||
|
||||
export default RawCommand;
|
||||
export default RawCommand;
|
||||
|
|
|
@ -9,8 +9,8 @@ class NineGagCommand extends ImageCommand {
|
|||
static description = "Adds the 9GAG watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default NineGagCommand;
|
||||
export default NineGagCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class BandicamCommand extends ImageCommand {
|
|||
static description = "Adds the Bandicam watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default BandicamCommand;
|
||||
export default BandicamCommand;
|
||||
|
|
|
@ -7,8 +7,8 @@ class BlurCommand extends ImageCommand {
|
|||
|
||||
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";
|
||||
}
|
||||
|
||||
export default BlurCommand;
|
||||
export default BlurCommand;
|
||||
|
|
|
@ -14,7 +14,7 @@ class BlurpleCommand extends ImageCommand {
|
|||
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 aliases = ["blurp"];
|
||||
}
|
||||
|
|
|
@ -26,8 +26,8 @@ class CaptionCommand extends ImageCommand {
|
|||
|
||||
static requiresText = true;
|
||||
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";
|
||||
}
|
||||
|
||||
export default CaptionCommand;
|
||||
export default CaptionCommand;
|
||||
|
|
|
@ -25,7 +25,7 @@ class CaptionTwoCommand extends ImageCommand {
|
|||
}];
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ class CircleCommand extends ImageCommand {
|
|||
static description = "Applies a radial blur effect on an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default CircleCommand;
|
||||
export default CircleCommand;
|
||||
|
|
|
@ -3,8 +3,8 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
class CropCommand extends ImageCommand {
|
||||
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";
|
||||
}
|
||||
|
||||
export default CropCommand;
|
||||
export default CropCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class DeepfryCommand extends ImageCommand {
|
|||
static description = "Deep-fries an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default DeepfryCommand;
|
||||
export default DeepfryCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class DeviantArtCommand extends ImageCommand {
|
|||
static description = "Adds a DeviantArt watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default DeviantArtCommand;
|
||||
export default DeviantArtCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class ExplodeCommand extends ImageCommand {
|
|||
static description = "Explodes an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default ExplodeCommand;
|
||||
export default ExplodeCommand;
|
||||
|
|
|
@ -37,7 +37,7 @@ class FlagCommand extends ImageCommand {
|
|||
|
||||
static requiresText = true;
|
||||
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";
|
||||
}
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
class FlipCommand extends ImageCommand {
|
||||
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";
|
||||
}
|
||||
|
||||
export default FlipCommand;
|
||||
export default FlipCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class FlopCommand extends ImageCommand {
|
|||
static description = "Flips an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default FlopCommand;
|
||||
export default FlopCommand;
|
||||
|
|
|
@ -14,8 +14,8 @@ class FreezeCommand extends ImageCommand {
|
|||
static arguments = ["{end frame number}"];
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
export default FreezeCommand;
|
||||
export default FreezeCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class FunkyCommand extends ImageCommand {
|
|||
static description = "Adds the New Funky Mode banner to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default FunkyCommand;
|
||||
export default FunkyCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class GameXplainCommand extends ImageCommand {
|
|||
static description = "Makes a GameXplain thumbnail from an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default GameXplainCommand;
|
||||
export default GameXplainCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class GlobeCommand extends ImageCommand {
|
|||
static description = "Spins an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default GlobeCommand;
|
||||
export default GlobeCommand;
|
||||
|
|
|
@ -9,7 +9,7 @@ class GrayscaleCommand extends ImageCommand {
|
|||
|
||||
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 aliases = ["gray", "greyscale", "grey"];
|
||||
}
|
||||
|
|
|
@ -8,8 +8,8 @@ class HaaHCommand extends ImageCommand {
|
|||
static description = "Mirrors the left side of an image onto the right";
|
||||
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";
|
||||
}
|
||||
|
||||
export default HaaHCommand;
|
||||
export default HaaHCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class HooHCommand extends ImageCommand {
|
|||
static description = "Mirrors the bottom of an image onto the top";
|
||||
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";
|
||||
}
|
||||
|
||||
export default HooHCommand;
|
||||
export default HooHCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class HypercamCommand extends ImageCommand {
|
|||
static description = "Adds the Hypercam watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default HypercamCommand;
|
||||
export default HypercamCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class iFunnyCommand extends ImageCommand {
|
|||
|
||||
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";
|
||||
}
|
||||
|
||||
export default iFunnyCommand;
|
||||
export default iFunnyCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class ImplodeCommand extends ImageCommand {
|
|||
static description = "Implodes an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default ImplodeCommand;
|
||||
export default ImplodeCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class InvertCommand extends ImageCommand {
|
|||
static description = "Inverts an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default InvertCommand;
|
||||
export default InvertCommand;
|
||||
|
|
|
@ -12,7 +12,7 @@ class JPEGCommand extends ImageCommand {
|
|||
static aliases = ["needsmorejpeg", "jpegify", "magik2", "morejpeg", "jpg", "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";
|
||||
}
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ class KineMasterCommand extends ImageCommand {
|
|||
static description = "Adds the KineMaster watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default KineMasterCommand;
|
||||
export default KineMasterCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class LeakCommand extends ImageCommand {
|
|||
static description = "Creates a fake Smash leak thumbnail";
|
||||
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";
|
||||
}
|
||||
|
||||
export default LeakCommand;
|
||||
export default LeakCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class MagikCommand extends ImageCommand {
|
|||
static description = "Adds a content aware scale effect to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default MagikCommand;
|
||||
export default MagikCommand;
|
||||
|
|
|
@ -25,8 +25,8 @@ class MemeCommand extends ImageCommand {
|
|||
|
||||
static requiresText = true;
|
||||
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";
|
||||
}
|
||||
|
||||
export default MemeCommand;
|
||||
export default MemeCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class MemeCenterCommand extends ImageCommand {
|
|||
static description = "Adds the MemeCenter watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default MemeCenterCommand;
|
||||
export default MemeCenterCommand;
|
||||
|
|
|
@ -23,8 +23,8 @@ class MotivateCommand extends ImageCommand {
|
|||
|
||||
static requiresText = true;
|
||||
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";
|
||||
}
|
||||
|
||||
export default MotivateCommand;
|
||||
export default MotivateCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class PixelateCommand extends ImageCommand {
|
|||
static description = "Pixelates an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default PixelateCommand;
|
||||
export default PixelateCommand;
|
||||
|
|
|
@ -11,8 +11,8 @@ class ReverseCommand extends ImageCommand {
|
|||
static aliases = ["backwards"];
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
export default ReverseCommand;
|
||||
export default ReverseCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class ScottCommand extends ImageCommand {
|
|||
static description = "Makes Scott the Woz show off an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default ScottCommand;
|
||||
export default ScottCommand;
|
||||
|
|
|
@ -9,7 +9,7 @@ class SepiaCommand extends ImageCommand {
|
|||
|
||||
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";
|
||||
}
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ class SharpenCommand extends ImageCommand {
|
|||
static description = "Sharpens an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default SharpenCommand;
|
||||
export default SharpenCommand;
|
||||
|
|
|
@ -10,8 +10,8 @@ class ShutterstockCommand extends ImageCommand {
|
|||
static description = "Adds the Shutterstock watermark to an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default ShutterstockCommand;
|
||||
export default ShutterstockCommand;
|
||||
|
|
|
@ -14,8 +14,8 @@ class SlowCommand extends ImageCommand {
|
|||
static arguments = ["{multiplier}"];
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
export default SlowCommand;
|
||||
export default SlowCommand;
|
||||
|
|
|
@ -21,8 +21,8 @@ class SnapchatCommand extends ImageCommand {
|
|||
|
||||
static requiresText = true;
|
||||
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";
|
||||
}
|
||||
|
||||
export default SnapchatCommand;
|
||||
export default SnapchatCommand;
|
||||
|
|
|
@ -12,7 +12,7 @@ class SooSCommand extends ImageCommand {
|
|||
static aliases = ["bounce", "boomerang"];
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ class SpeedCommand extends ImageCommand {
|
|||
static arguments = ["{multiplier}"];
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
export default SpeedCommand;
|
||||
export default SpeedCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class SpinCommand extends ImageCommand {
|
|||
static description = "Spins an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default SpinCommand;
|
||||
export default SpinCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class StretchCommand extends ImageCommand {
|
|||
static description = "Stretches an image to a 4:3 aspect ratio";
|
||||
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";
|
||||
}
|
||||
|
||||
export default StretchCommand;
|
||||
export default StretchCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class SwirlCommand extends ImageCommand {
|
|||
static description = "Swirls an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default SwirlCommand;
|
||||
export default SwirlCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class TileCommand extends ImageCommand {
|
|||
static description = "Creates a tile pattern from an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default TileCommand;
|
||||
export default TileCommand;
|
||||
|
|
|
@ -3,8 +3,8 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
class TrumpCommand extends ImageCommand {
|
||||
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";
|
||||
}
|
||||
|
||||
export default TrumpCommand;
|
||||
export default TrumpCommand;
|
||||
|
|
|
@ -3,8 +3,8 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
class UncaptionCommand extends ImageCommand {
|
||||
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";
|
||||
}
|
||||
|
||||
export default UncaptionCommand;
|
||||
export default UncaptionCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class UnfreezeCommand extends ImageCommand {
|
|||
static description = "Unfreezes an image sequence";
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
export default UnfreezeCommand;
|
||||
export default UnfreezeCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class WaaWCommand extends ImageCommand {
|
|||
static description = "Mirrors the right side of an image onto the left";
|
||||
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";
|
||||
}
|
||||
|
||||
export default WaaWCommand;
|
||||
export default WaaWCommand;
|
||||
|
|
|
@ -3,8 +3,8 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
class WallCommand extends ImageCommand {
|
||||
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";
|
||||
}
|
||||
|
||||
export default WallCommand;
|
||||
export default WallCommand;
|
||||
|
|
|
@ -4,8 +4,8 @@ class WhoDidThisCommand extends ImageCommand {
|
|||
static description = "Creates a \"WHO DID THIS\" meme from an image";
|
||||
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";
|
||||
}
|
||||
|
||||
export default WhoDidThisCommand;
|
||||
export default WhoDidThisCommand;
|
||||
|
|
|
@ -14,8 +14,8 @@ class WhisperCommand extends ImageCommand {
|
|||
|
||||
static requiresText = true;
|
||||
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";
|
||||
}
|
||||
|
||||
export default WhisperCommand;
|
||||
export default WhisperCommand;
|
||||
|
|
|
@ -8,8 +8,8 @@ class WideCommand extends ImageCommand {
|
|||
static description = "Stretches an image to 19x its width";
|
||||
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";
|
||||
}
|
||||
|
||||
export default WideCommand;
|
||||
export default WideCommand;
|
||||
|
|
|
@ -9,8 +9,8 @@ class WooWCommand extends ImageCommand {
|
|||
static description = "Mirrors the top of an image onto the bottom";
|
||||
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";
|
||||
}
|
||||
|
||||
export default WooWCommand;
|
||||
export default WooWCommand;
|
||||
|
|
|
@ -3,8 +3,8 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
class ZamnCommand extends ImageCommand {
|
||||
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";
|
||||
}
|
||||
|
||||
export default ZamnCommand;
|
||||
export default ZamnCommand;
|
||||
|
|
Loading…
Reference in a new issue