Add support for string gravity + speechbubble command

This commit is contained in:
bjcscat 2022-03-08 23:24:48 +00:00
parent f3f23ddbf2
commit b17611917f
4 changed files with 37 additions and 42 deletions

View file

@ -0,0 +1,18 @@
import ImageCommand from "../../classes/imageCommand.js";
class SpeechbubbleCommand extends ImageCommand {
params = {
water: "./assets/images/speechbubble.png",
gravity: "north",
resize: true,
yscale: 0.2,
};
static description = "Adds a speech bubble to the image.";
static aliases = ["speech","speechbubble"];
static noImage = "You need to provide an image/GIF to add a speech bubble."
static command = "watermark";
}
export default SpeechbubbleCommand;