2023-03-15 14:09:09 +00:00
|
|
|
import ImageCommand from "../../classes/imageCommand.js";
|
|
|
|
|
|
|
|
class HomebrewCommand extends ImageCommand {
|
2023-03-19 05:10:48 +00:00
|
|
|
static category = "image-editing"
|
2023-03-15 14:09:09 +00:00
|
|
|
params() {
|
|
|
|
return {
|
|
|
|
caption: (this.options.text ?? this.args.join(" ")).toLowerCase().replaceAll("\n", " ")
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
static description = "Creates a Homebrew Channel edit";
|
|
|
|
static aliases = ["hbc", "brew", "wiibrew"];
|
|
|
|
static arguments = ["[text]"];
|
|
|
|
|
|
|
|
static requiresImage = false;
|
|
|
|
static requiresText = true;
|
|
|
|
static noText = "You need to provide some text to make a Homebrew Channel edit!";
|
|
|
|
static command = "homebrew";
|
|
|
|
}
|
|
|
|
|
2021-08-19 14:19:14 +00:00
|
|
|
export default HomebrewCommand;
|