nestwhats
Version:
A whatsapp-web.js wrapper for NestJS to create WhatsApp bots
12 lines (11 loc) • 346 B
TypeScript
import { NestWhatsBaseDiscovery } from "../context";
export interface CommandMeta {
name: string;
description: string;
}
export declare class CommandDiscovery extends NestWhatsBaseDiscovery<CommandMeta> {
getName(): string;
getDescription(): string;
isCommand(): this is CommandDiscovery;
toJSON(): Record<string, any>;
}