ext/Command.js

"use strict";
// Command.ts - Command class (noud02)
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Command class
 *
 * @export
 * @class Command
 */
class Command {
    /**
     * Will be run when the command is executed
     *
     * @param {Context} ctx Context
     * @returns {Promise<any>}
     */
    run(ctx) {
        return ctx.send("This command does not have a valid run function");
    }
}
exports.Command = Command;