Add support for string gravity + speechbubble command
This commit is contained in:
parent
f3f23ddbf2
commit
b17611917f
4 changed files with 37 additions and 42 deletions
18
commands/image-editing/speechbubble.js
Normal file
18
commands/image-editing/speechbubble.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue