Mutable Command Builder
A mutable Command.Builder wrapper, providing functions to assist in creating commands using the Kotlin builder DSL style
Constructors
Create a new MutableCommandBuilder
Create a new MutableCommandBuilder and invoke the provided receiver lambda on it
Create a new MutableCommandBuilder
Properties
The command builder that is being mutated by this MutableCommandBuilder instance.
Field to get and set the command description for this command builder
Field to get and set the required permission for this command builder
Field to get and set the required permission for this command builder
Field to get and set the required sender type for this command builder
Functions
Sets a new command execution handler that invokes the given {@code handler} after the current {@link #handler() handler}.
Add a new argument to this command
Adds a new component to this command
Sets the command description meta for this command
Make a new copy of this MutableCommandBuilder
Make a new copy of this MutableCommandBuilder and invoke the provided receiver lambda on it
Make a new copy of this MutableCommandBuilder, append a literal, and invoke the provided receiver lambda on it
Add a new presence flag component to this command
Add a new flag component to this command
Set the CommandExecutionHandler for this builder
Set the CommandExecutionHandler for this builder
Modify this MutableCommandBuilder's internal Command.Builder with a unary function
Add a new argument to this command
Adds a new component to this command
Specify a permission required to execute this command
Sets a new command execution handler that invokes the given {@code handler} before the current {@link #handler() handler}.
Build and register this command with the owning command manager
Create a new copy of this mutable builder, act on it with a receiver lambda, and then register it with the owning command manager
Create a new copy of this mutable builder, append a literal, act on it with a receiver lambda, and then register it with the owning command manager
Add a new argument to this command
Adds a new component to this command
Specify a required sender type