/** * Marks the function as command function of the bot. * * When the user sends a command starting with / (slash) followed by the same * name of the function, the function is executed. * * @export * @param {ICommandDecoratorOpts} [opts] Options for the command decorator. * @returns Method Decorator */ export declare function command(opts?: ICommandDecoratorOpts): any = (...args: any[]) => any>(target: any, propName: string, descriptor?: TypedPropertyDescriptor | undefined) => TypedPropertyDescriptor | undefined;