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 = {
|
|
|
|
water: "./assets/images/speechbubble.png",
|
|
|
|
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;
|