nestwhats
Version:
A whatsapp-web.js wrapper for NestJS to create WhatsApp bots
20 lines (19 loc) • 478 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommandDiscovery = void 0;
const context_1 = require("../context");
class CommandDiscovery extends context_1.NestWhatsBaseDiscovery {
getName() {
return this.meta.name;
}
getDescription() {
return this.meta.description;
}
isCommand() {
return true;
}
toJSON() {
return this.meta;
}
}
exports.CommandDiscovery = CommandDiscovery;