UNPKG

@globalart/nestcord

Version:

A module for creating Discord bots using NestJS, based on Discord.js

17 lines (16 loc) 464 B
import { NestCordBaseDiscovery } from '../context'; export interface TextCommandMeta { name: string; description: string; aliases?: string[]; } /** * Represents a text command discovery. */ export declare class TextCommandDiscovery extends NestCordBaseDiscovery<TextCommandMeta> { getName(): string; getDescription(): string; getAliases(): string[]; isTextCommand(): this is TextCommandDiscovery; toJSON(): Record<string, any>; }