ExtMappingsBuilder

Builder used for configuring the mappings extension.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val commandChecks: MutableList<suspend (Key) -> <Error class: unknown class>>

List of checks to apply against the name of the command.

Link copied to clipboard
val namespaceChecks: MutableList<suspend (Namespace) -> <Error class: unknown class>>

List of checks to apply against the namespace corresponding with the command.

Functions

Link copied to clipboard
fun commandCheck(check: suspend (Key) -> <Error class: unknown class>)

Register a check that applies against the name of a command, and its message creation event.

Link copied to clipboard
fun namespaceCheck(check: suspend (Namespace) -> <Error class: unknown class>)

Register a check that applies against the mappings namespace for a command, and its message creation event.