2021-12-14 07:16:23 +00:00
|
|
|
import ImageCommand from "../../classes/imageCommand.js";
|
|
|
|
|
|
|
|
class GrayscaleCommand extends ImageCommand {
|
2022-08-04 01:54:07 +00:00
|
|
|
params = {
|
|
|
|
color: "grayscale"
|
|
|
|
};
|
2021-12-14 07:16:23 +00:00
|
|
|
|
|
|
|
static description = "Adds a grayscale filter";
|
|
|
|
|
2022-01-26 18:53:20 +00:00
|
|
|
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;
|