17 lines
342 B
JavaScript
17 lines
342 B
JavaScript
|
import ImageCommand from "../../classes/imageCommand.js";
|
||
|
|
||
|
class SepiaCommand extends ImageCommand {
|
||
|
params() {
|
||
|
return {
|
||
|
color: "sepia"
|
||
|
};
|
||
|
}
|
||
|
|
||
|
static description = "Adds a sepia filter";
|
||
|
|
||
|
static noImage = "You need to provide an image to add a sepia filter!";
|
||
|
static command = "colors";
|
||
|
}
|
||
|
|
||
|
export default SepiaCommand;
|