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

16 lines
387 B
JavaScript
Raw Normal View History

2021-12-14 07:16:23 +00:00
import ImageCommand from "../../classes/imageCommand.js";
class GrayscaleCommand extends ImageCommand {
params = {
color: "grayscale"
};
2021-12-14 07:16:23 +00:00
static description = "Adds a grayscale filter";
static noImage = "You need to provide an image/GIF to turn grayscale!";
2021-12-14 07:16:23 +00:00
static command = "colors";
static aliases = ["gray", "greyscale", "grey"];
}
export default GrayscaleCommand;