CommandResult

Constructor

new CommandResult(callable)

The CommandResult class, it represents the result of a command call, which is a callback returning a String (CommandResult#callable)

callable

The callback function

arrow_forward
No value returned

Methods

  • call() → {String}

    Calls the callback function, logs the error if the callback failed

    No arguments
    arrow_forward
    {String}
` : '' ?>