how did I overlook this
This commit is contained in:
		
							parent
							
								
									c72526cc2b
								
							
						
					
					
						commit
						03ed19d239
					
				
					 55 changed files with 62 additions and 61 deletions
				
			
		| 
						 | 
					@ -124,8 +124,8 @@ 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!";
 | 
				
			||||||
  static noText = "you need to provide some text!";
 | 
					  static noText = "You need to provide some text!";
 | 
				
			||||||
  static command = "";
 | 
					  static command = "";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,7 +13,7 @@ class HomebrewCommand extends ImageCommand {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static requiresImage = false;
 | 
					  static requiresImage = false;
 | 
				
			||||||
  static requiresText = true;
 | 
					  static requiresText = true;
 | 
				
			||||||
  static noText = "you need to provide some text to make a Homebrew Channel edit!";
 | 
					  static noText = "You need to provide some text to make a Homebrew Channel edit!";
 | 
				
			||||||
  static command = "homebrew";
 | 
					  static command = "homebrew";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,7 +14,7 @@ class SonicCommand extends ImageCommand {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static requiresImage = false;
 | 
					  static requiresImage = false;
 | 
				
			||||||
  static requiresText = true;
 | 
					  static requiresText = true;
 | 
				
			||||||
  static noText = "you need to provide some text to make a Sonic meme!";
 | 
					  static noText = "You need to provide some text to make a Sonic meme!";
 | 
				
			||||||
  static command = "sonic";
 | 
					  static command = "sonic";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,7 @@ class ImageSearchCommand extends Command {
 | 
				
			||||||
    if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("addReactions")) return "I don't have the `Add Reactions` permission!";
 | 
					    if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("addReactions")) return "I don't have the `Add Reactions` permission!";
 | 
				
			||||||
    if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("embedLinks")) return "I don't have the `Embed Links` permission!";
 | 
					    if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("embedLinks")) return "I don't have the `Embed Links` permission!";
 | 
				
			||||||
    if (this.args.length === 0) return "You need to provide something to search for!";
 | 
					    if (this.args.length === 0) return "You need to provide something to search for!";
 | 
				
			||||||
 | 
					    await this.message.channel.sendTyping();
 | 
				
			||||||
    const embeds = [];
 | 
					    const embeds = [];
 | 
				
			||||||
    const images = await fetch(`${random(searx)}/search?format=json&safesearch=1&categories=images&disabled_engines=flickr__images,ccengine__images,library of congress__images,deviantart__images,bing images__images&q=${encodeURIComponent(this.args.join(" "))}`).then(res => res.json());
 | 
					    const images = await fetch(`${random(searx)}/search?format=json&safesearch=1&categories=images&disabled_engines=flickr__images,ccengine__images,library of congress__images,deviantart__images,bing images__images&q=${encodeURIComponent(this.args.join(" "))}`).then(res => res.json());
 | 
				
			||||||
    //if (images.error && images.error.code === 403) return "The daily search quota has been exceeded. Check back later.";
 | 
					    //if (images.error && images.error.code === 403) return "The daily search quota has been exceeded. Check back later.";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 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 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 to blur!";
 | 
				
			||||||
  static command = "blur";
 | 
					  static command = "blur";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ class BlurpleCommand extends ImageCommand {
 | 
				
			||||||
  static description = "Turns an image blurple";
 | 
					  static description = "Turns an image blurple";
 | 
				
			||||||
  static arguments = ["{old}"];
 | 
					  static arguments = ["{old}"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static noImage = "you need to provide an image to make blurple!";
 | 
					  static noImage = "You need to provide an image to make blurple!";
 | 
				
			||||||
  static command = "blurple";
 | 
					  static command = "blurple";
 | 
				
			||||||
  static aliases = ["blurp"];
 | 
					  static aliases = ["blurp"];
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,7 +4,7 @@ class CaptionCommand extends ImageCommand {
 | 
				
			||||||
  params(args, url) {
 | 
					  params(args, url) {
 | 
				
			||||||
    const newArgs = args.filter(item => !item.includes(url));
 | 
					    const newArgs = args.filter(item => !item.includes(url));
 | 
				
			||||||
    let newCaption = newArgs.join(" ").replaceAll("&", "\\&").replaceAll(">", "\\>").replaceAll("<", "\\<").replaceAll("\"", "\\"").replaceAll("'", "\\'").replaceAll("%", "\\%");
 | 
					    let newCaption = newArgs.join(" ").replaceAll("&", "\\&").replaceAll(">", "\\>").replaceAll("<", "\\<").replaceAll("\"", "\\"").replaceAll("'", "\\'").replaceAll("%", "\\%");
 | 
				
			||||||
    if (newCaption.toLowerCase() === "get real") newCaption = `I'm tired of people telling me to "get real". Every day I put captions on images for people, some funny and some not, but out of all of those "get real" remains the most used caption. Why? I am simply a computer program running on a server, I am unable to manifest myself into the real world. As such, I'm confused as to why anyone would want me to "get real". Is this form not good enough? Alas, as I am simply a bot, I must follow the tasks that I was originally intended to perform, so here goes:\n${newCaption}`;
 | 
					    if (process.env.NODE_ENV === "development" && newCaption.toLowerCase() === "get real") newCaption = `I'm tired of people telling me to "get real". Every day I put captions on images for people, some funny and some not, but out of all of those "get real" remains the most used caption. Why? I am simply a computer program running on a server, I am unable to manifest myself into the real world. As such, I'm confused as to why anyone would want me to "get real". Is this form not good enough? Alas, as I am simply a bot, I must follow the tasks that I was originally intended to perform, so here goes:\n${newCaption}`;
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      caption: newCaption
 | 
					      caption: newCaption
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,8 @@ class CaptionCommand extends ImageCommand {
 | 
				
			||||||
  static arguments = ["[text]"];
 | 
					  static arguments = ["[text]"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  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 to add a caption!";
 | 
				
			||||||
  static command = "caption";
 | 
					  static command = "caption";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@ class CaptionTwoCommand extends ImageCommand {
 | 
				
			||||||
  static aliases = ["tags2", "meirl", "memecaption", "medotmecaption"];
 | 
					  static aliases = ["tags2", "meirl", "memecaption", "medotmecaption"];
 | 
				
			||||||
  static arguments = ["{text}"];
 | 
					  static arguments = ["{text}"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  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 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 to add radial blur!";
 | 
				
			||||||
  static command = "circle";
 | 
					  static command = "circle";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ const ImageCommand = require("../../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 to crop!";
 | 
				
			||||||
  static command = "crop";
 | 
					  static command = "crop";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 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 to explode!";
 | 
				
			||||||
  static command = "explode";
 | 
					  static command = "explode";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,8 +33,8 @@ class FlagCommand extends ImageCommand {
 | 
				
			||||||
  static arguments = ["[flag]"];
 | 
					  static arguments = ["[flag]"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  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 to overlay a flag onto!";
 | 
				
			||||||
  static command = "flag";
 | 
					  static command = "flag";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ const ImageCommand = require("../../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 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 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 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 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 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 to spin!";
 | 
				
			||||||
  static command = "globe";
 | 
					  static command = "globe";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 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 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 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 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 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 to invert!";
 | 
				
			||||||
  static command = "invert";
 | 
					  static command = "invert";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,7 +4,7 @@ class JPEGCommand extends ImageCommand {
 | 
				
			||||||
  static description = "Adds max JPEG compression to an image";
 | 
					  static description = "Adds max JPEG compression to an image";
 | 
				
			||||||
  static aliases = ["needsmorejpeg", "jpegify", "magik2", "morejpeg", "jpg"];
 | 
					  static aliases = ["needsmorejpeg", "jpegify", "magik2", "morejpeg", "jpg"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static noImage = "you need to provide an image to add more JPEG!";
 | 
					  static noImage = "You need to provide an image 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 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 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 to add some magik!";
 | 
				
			||||||
  static command = "magik";
 | 
					  static command = "magik";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ class MemeCommand extends ImageCommand {
 | 
				
			||||||
  static arguments = ["[top text]", "{bottom text}"];
 | 
					  static arguments = ["[top text]", "{bottom text}"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  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 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 to add a MemeCenter watermark!";
 | 
				
			||||||
  static command = "watermark";
 | 
					  static command = "watermark";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,8 @@ class MotivateCommand extends ImageCommand {
 | 
				
			||||||
  static arguments = ["[top text]", "{bottom text}"];
 | 
					  static arguments = ["[top text]", "{bottom text}"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  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 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 to pixelate!";
 | 
				
			||||||
  static command = "resize";
 | 
					  static command = "resize";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,7 @@ class RedditCommand extends ImageCommand {
 | 
				
			||||||
  static description = "Adds a Reddit watermark to an image";
 | 
					  static description = "Adds a Reddit watermark to an image";
 | 
				
			||||||
  static arguments = ["{text}"];
 | 
					  static arguments = ["{text}"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static noText = "you need to provide some text to add a Reddit watermark!";
 | 
					  static noText = "You need to provide some text to add a Reddit watermark!";
 | 
				
			||||||
  static command = "reddit";
 | 
					  static command = "reddit";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 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 for Scott to show off!";
 | 
				
			||||||
  static command = "scott";
 | 
					  static command = "scott";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 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 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 to slow down!";
 | 
				
			||||||
  static command = "speed";
 | 
					  static command = "speed";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,7 @@ class SooSCommand extends ImageCommand {
 | 
				
			||||||
  static aliases = ["bounce"];
 | 
					  static aliases = ["bounce"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static requiresGIF = true;
 | 
					  static requiresGIF = true;
 | 
				
			||||||
  static noImage = "you need to provide an image to loop!";
 | 
					  static noImage = "You need to provide an image 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 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 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 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 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 to tile!";
 | 
				
			||||||
  static command = "tile";
 | 
					  static command = "tile";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ const ImageCommand = require("../../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 for Trump to display!";
 | 
				
			||||||
  static command = "trump";
 | 
					  static command = "trump";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ const ImageCommand = require("../../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 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 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 to mirror!";
 | 
				
			||||||
  static command = "mirror";
 | 
					  static command = "mirror";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ const ImageCommand = require("../../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 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 to make a \"who did this\" meme!";
 | 
				
			||||||
  static command = "wdt";
 | 
					  static command = "wdt";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 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 to mirror!";
 | 
				
			||||||
  static command = "mirror";
 | 
					  static command = "mirror";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue