nestwhats
Version:
A whatsapp-web.js wrapper for NestJS to create WhatsApp bots
18 lines (17 loc) • 516 B
TypeScript
import { NestWhatsBaseDiscovery } from "../context";
export interface CommandMeta {
name: string;
description: string;
aliases?: string[];
prefix?: string;
client?: string | string[];
}
export declare class CommandDiscovery extends NestWhatsBaseDiscovery<CommandMeta> {
getName(): string;
getDescription(): string;
getAliases(): string[];
getPrefix(): string;
getClients(): string[] | undefined;
isCommand(): this is CommandDiscovery;
toJSON(): Record<string, any>;
}