mrmBot-Matrix/commands/fun/homebrew.js

20 lines
569 B
JavaScript

const ImageCommand = require("../../classes/imageCommand.js");
class HomebrewCommand extends ImageCommand {
params(args) {
return {
caption: 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";
}
module.exports = HomebrewCommand;