mrmBot-Matrix/commands/image-editing/blurple.js

29 lines
585 B
JavaScript
Raw Normal View History

import ImageCommand from "../../classes/imageCommand.js";
class BlurpleCommand extends ImageCommand {
params() {
return {
2021-12-14 07:16:23 +00:00
old: !!this.specialArgs.old,
color: "blurple"
};
}
static description = "Turns an image blurple";
static init() {
super.init();
this.flags.push({
name: "old",
description: "Use the old blurple color",
type: 5
});
return this;
}
static noImage = "You need to provide an image/GIF to make blurple!";
2021-12-14 07:16:23 +00:00
static command = "colors";
static aliases = ["blurp"];
}
2021-12-14 07:16:23 +00:00
export default BlurpleCommand;