registry

fun registry(builder: () -> ChatCommandRegistry)

Register the builder used to create the ChatCommandRegistry. You can change this if you need to make use of a subclass.