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

17 lines
448 B
JavaScript
Raw Normal View History

2023-03-15 14:09:09 +00:00
import ImageCommand from "../../classes/imageCommand.js";
class StretchCommand extends ImageCommand {
2023-03-19 05:10:48 +00:00
static category = "image-editing"
2023-03-15 14:09:09 +00:00
params = {
stretch: true
};
static description = "Stretches an image to a 1:1 aspect ratio";
static aliases = ["aspect", "ratio", "aspect11", "11"];
static noImage = "You need to provide an image/GIF to stretch!";
static command = "resize";
}
export default StretchCommand;