god i love annoying orange
This commit is contained in:
parent
6896751e86
commit
b424b2f813
88 changed files with 91 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class NineGagCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/9gag.png",
|
||||
gravity: 6
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class AVSCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/avs4you.png",
|
||||
gravity: 5,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class BandicamCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/bandicam.png",
|
||||
gravity: 2,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class BlurCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
sharp: false
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class BounceCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Makes an image bounce up and down";
|
||||
static aliases = ["bouncy"];
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
import { cleanMessage } from "../../utils/misc.js";
|
||||
|
||||
class CaptionCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params(url) {
|
||||
const newArgs = this.options.text ?? this.args.filter(item => !item.includes(url)).join(" ");
|
||||
let newCaption = cleanMessage(this.message ?? this.interaction, newArgs);
|
||||
|
|
|
@ -3,6 +3,7 @@ import { cleanMessage } from "../../utils/misc.js";
|
|||
const words = ["me irl", "dank", "follow my second account @esmBot_", "2016", "meme", "wholesome", "reddit", "instagram", "twitter", "facebook", "fortnite", "minecraft", "relatable", "gold", "funny", "template", "hilarious", "memes", "deep fried", "2020", "leafy", "pewdiepie"];
|
||||
|
||||
class CaptionTwoCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params(url) {
|
||||
const newArgs = this.options.text ?? this.args.filter(item => !item.includes(url)).join(" ");
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class CircleCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Applies a radial blur effect on an image";
|
||||
static aliases = ["cblur", "radial", "radialblur"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class CropCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Crops an image to 1:1";
|
||||
|
||||
static noImage = "You need to provide an image/GIF to crop!";
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class DeepfryCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Deep-fries an image";
|
||||
static aliases = ["fry", "jpeg2", "nuke", "df"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class DeviantArtCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/deviantart.png",
|
||||
gravity: 5,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ExplodeCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Explodes an image";
|
||||
static aliases = ["exp"];
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import emoji from "node-emoji";
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class FlagCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
flagPath = "";
|
||||
|
||||
async criteria() {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class FlipCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Flips an image";
|
||||
|
||||
static noImage = "You need to provide an image/GIF to flip!";
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class FlopCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
flop: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class FreezeCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params() {
|
||||
const frameCount = parseInt(this.options.endframe ?? this.args[0]);
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class FunkyCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/funky.png",
|
||||
gravity: 3,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class GameXplainCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Makes a GameXplain thumbnail from an image";
|
||||
static aliases = ["gx"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class GIFCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Converts an image into a GIF";
|
||||
static aliases = ["gif", "getgif", "togif", "tgif", "gifify"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class GlobeCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Spins an image";
|
||||
static aliases = ["sphere"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class GrayscaleCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
color: "grayscale"
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class HaaHCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
first: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class HooHCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
vertical: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class HypercamCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/hypercam.png",
|
||||
gravity: 1,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class iFunnyCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/ifunny.png",
|
||||
gravity: 8,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ImplodeCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
implode: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class InvertCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Inverts an image";
|
||||
static aliases = ["inverse", "negate", "negative"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class JPEGCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params() {
|
||||
const quality = parseInt(this.options.quality ?? this.args[0]);
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class KineMasterCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/kinemaster.png",
|
||||
gravity: 3,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class MagikCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Adds a content aware scale effect to an image";
|
||||
static aliases = ["imagemagic", "imagemagick", "imagemagik", "magic", "magick", "cas", "liquid"];
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
import { cleanMessage } from "../../utils/misc.js";
|
||||
|
||||
class MemeCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
async criteria(text, url) {
|
||||
const [topText, bottomText] = text.replaceAll(url, "").split(/(?<!\\),/).map(elem => elem.trim());
|
||||
if (topText === "" && bottomText === "") {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class MemeCenterCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/memecenter.png",
|
||||
gravity: 9,
|
||||
|
|
|
@ -2,6 +2,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
import { cleanMessage } from "../../utils/misc.js";
|
||||
|
||||
class MotivateCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
async criteria(text, url) {
|
||||
const [topText, bottomText] = text.replaceAll(url, "").split(/(?<!\\),/).map(elem => elem.trim());
|
||||
if (topText === "" && bottomText === "") {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class PixelateCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Pixelates an image";
|
||||
static aliases = ["pixel", "small"];
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import { random } from "../../utils/misc.js";
|
|||
const names = ["esmBot", "me_irl", "dankmemes", "hmmm", "gaming", "wholesome", "chonkers", "memes", "funny", "lies"];
|
||||
|
||||
class RedditCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params(url) {
|
||||
const newArgs = this.options.text ?? this.args.filter(item => !item.includes(url)).join(" ");
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ReverseCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Reverses an image sequence";
|
||||
static aliases = ["backwards"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ScottCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Makes Scott the Woz show off an image";
|
||||
static aliases = ["woz", "tv", "porn"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SepiaCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
color: "sepia"
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SharpenCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
sharp: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ShutterstockCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
water: "assets/images/shutterstock.png",
|
||||
gravity: 5,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SlowCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params() {
|
||||
const speed = parseInt(this.options.multiplier ?? this.args[0]);
|
||||
return {
|
||||
|
|
|
@ -2,6 +2,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
import { cleanMessage } from "../../utils/misc.js";
|
||||
|
||||
class SnapchatCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params(url) {
|
||||
const newArgs = this.options.text ?? this.args.filter(item => !item.includes(url)).join(" ");
|
||||
const position = parseFloat(this.options.position);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SooSCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
soos: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SpeechBubbleCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params() {
|
||||
return {
|
||||
water: this.options.alpha ? "assets/images/speech.png" : "assets/images/speechbubble.png",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SpeedCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params() {
|
||||
const speed = parseInt(this.options.multiplier ?? this.args[0]);
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SpinCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Spins an image";
|
||||
static aliases = ["rotate"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SquishCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Squishes/stretches an image";
|
||||
static aliases = ["squishy", "squash"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class StretchCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
stretch: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class SwirlCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Swirls an image";
|
||||
static aliases = ["whirlpool", "distort"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class TileCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Creates a tile pattern from an image";
|
||||
static aliases = ["wall2"];
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ const names = readdirSync(resolve(dirname(fileURLToPath(import.meta.url)), "../.
|
|||
});
|
||||
|
||||
class UncannyCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params(url, name = "unknown") {
|
||||
const newArgs = this.options.text ?? this.args.join(" ");
|
||||
// eslint-disable-next-line prefer-const
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class UncaptionCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params() {
|
||||
const tolerance = parseFloat(this.options.tolerance);
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class UnfreezeCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
loop: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class WaaWCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Mirrors the right side of an image onto the left";
|
||||
static aliases = ["magik3", "mirror"];
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class WallCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Creates a wall from an image";
|
||||
|
||||
static noImage = "You need to provide an image/GIF to make a wall!";
|
||||
|
|
|
@ -2,6 +2,7 @@ import ImageCommand from "../../classes/imageCommand.js";
|
|||
import { cleanMessage } from "../../utils/misc.js";
|
||||
|
||||
class WhisperCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params(url) {
|
||||
const newArgs = this.options.text ?? this.args.filter(item => !item.includes(url)).join(" ");
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class WideCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
wide: true
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class WooWCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
params = {
|
||||
vertical: true,
|
||||
first: true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ZamnCommand extends ImageCommand {
|
||||
static category = "image-editing"
|
||||
static description = "Adds a \"ZAMN\" reaction to an image";
|
||||
|
||||
static noImage = "You need to provide an image/GIF to \"ZAMN\" at!";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue