2022-03-08 23:24:48 +00:00
|
|
|
import ImageCommand from "../../classes/imageCommand.js";
|
|
|
|
|
2022-03-09 19:30:18 +00:00
|
|
|
class SpeechBubbleCommand extends ImageCommand {
|
|
|
|
params = {
|
2022-04-17 15:40:56 +00:00
|
|
|
water: "assets/images/speechbubble.png",
|
2022-03-09 19:30:18 +00:00
|
|
|
gravity: "north",
|
|
|
|
resize: true,
|
|
|
|
yscale: 0.2,
|
|
|
|
};
|
2022-03-08 23:24:48 +00:00
|
|
|
|
2022-03-09 19:30:18 +00:00
|
|
|
static description = "Adds a speech bubble to an image";
|
|
|
|
static aliases = ["speech", "sb"];
|
2022-03-08 23:24:48 +00:00
|
|
|
|
2022-03-09 19:30:18 +00:00
|
|
|
static noImage = "You need to provide an image/GIF to add a speech bubble!";
|
|
|
|
static command = "watermark";
|
2022-03-08 23:24:48 +00:00
|
|
|
}
|
|
|
|
|
2022-03-09 19:30:18 +00:00
|
|
|
export default SpeechBubbleCommand;
|