20 lines
No EOL
563 B
JavaScript
20 lines
No EOL
563 B
JavaScript
import ImageCommand from "../../classes/imageCommand.js";
|
|
|
|
class HomebrewCommand extends ImageCommand {
|
|
params() {
|
|
return {
|
|
caption: 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";
|
|
}
|
|
|
|
export default HomebrewCommand; |