Command
#getName
#execute
An interface representing the basic form of an executable command.
Type Parameters:
interface Command<C extends CommandStructure, N extends string = string> { ... }
Returns the name of the Command.
Parameters:
getName(): N;
Executes the Command with the provided parameters and within the provided context, returning the resulting value.
Returns The return value of the executed Command.
execute(params: C["params"], context: CommandSocket): Promise<C["return"]>;
There was an error while loading. Please reload this page.