register

open fun register(command: Command)(source)

Commands can be registered at any time during the client lifecycle, but if you intend on normal behavior, you should register during the preInit phase.

Parameters

command

The command instance to register.