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

28 lines
637 B
JavaScript

import ImageCommand from "../../classes/imageCommand.js";
class BlurpleCommand extends ImageCommand {
constructor(client, cluster, worker, ipc, options) {
super(client, cluster, worker, ipc, options);
this.flags.push({
name: "old",
description: "Use the old blurple color",
type: 5
});
}
params() {
return {
old: !!this.specialArgs.old,
color: "blurple"
};
}
static description = "Turns an image blurple";
static noImage = "You need to provide an image/GIF to make blurple!";
static command = "colors";
static aliases = ["blurp"];
}
export default BlurpleCommand;