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

17 lines
439 B
JavaScript
Raw Normal View History

2023-03-15 14:09:09 +00:00
import ImageCommand from "../../classes/imageCommand.js";
class GrayscaleCommand extends ImageCommand {
2023-03-19 05:10:48 +00:00
static category = "image-editing"
2023-03-15 14:09:09 +00:00
params = {
color: "grayscale"
};
static description = "Adds a grayscale filter";
static noImage = "You need to provide an image/GIF to turn grayscale!";
static command = "colors";
static aliases = ["gray", "greyscale", "grey"];
}
export default GrayscaleCommand;