15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
import ImageCommand from "../../classes/imageCommand.js";
|
|
|
|
class GrayscaleCommand extends ImageCommand {
|
|
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;
|