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

15 lines
No EOL
391 B
JavaScript

import ImageCommand from "../../classes/imageCommand.js";
class StretchCommand extends ImageCommand {
params = {
stretch: true
};
static description = "Stretches an image to a 4:3 aspect ratio";
static aliases = ["aspect", "ratio", "aspect43", "43"];
static noImage = "You need to provide an image to stretch!";
static command = "resize";
}
export default StretchCommand;