import { commandsDict } from "../../base/index.js"; import { CocoaMessage, MessageModule, PartialCocoaMessageFunction } from "../types.js"; /** * This class implements `MessageModule`, by OOP magic, you can use * ```js * addModules(new [your_extended_classname]()) * ``` */ export declare abstract class MessageModuleClass implements MessageModule { name: string; description?: string; commands: commandsDict; constructor(name: string, description?: string); } /** * Example Usage * ```ts * @MessageCommand({ name: "ping", description: "pong!" }) * async ping(ctx: Message, strp: string) { * await ctx.reply("pong!"); * } * ``` * **Note**: If syntax highlight looks broken, blame your IDE. * You may look at harunon.js to see this in action */ export declare function MessageCommand(command?: Partial, guild_ids?: string[]): (cog: MessageModule, key: string, desc: TypedPropertyDescriptor | TypedPropertyDescriptor) => void; //# sourceMappingURL=index.d.ts.map