remove

open fun remove(command: ChatCommand<out Arguments>): Boolean

Directly remove a registered ChatCommand from this command registry.

This function is used when extensions are unloaded, in order to clear out their commands. No exception is thrown if the command wasn't registered.

Parameters

command

The command to be removed.