mrmBot-Matrix/commands/fun/homebrew.js

20 lines
611 B
JavaScript
Raw Normal View History

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