bettermodel
Toggle table of contents
3.1.0-SNAPSHOT-498
bettermodel-core
Target filter
bettermodel-core
Switch theme
Search in API
Skip to content
bettermodel
bettermodel-core
/
kr.toxicity.model.command
/
CommandBuilder
Command
Builder
class
CommandBuilder
(
val
parent
:
CommandBuilder
?
,
val
context
:
CommandBuildContext
,
val
info
:
CommandBuilder.Info
)
:
CommandLike
Members
Constructors
Command
Builder
Link copied to clipboard
constructor
(
parent
:
CommandBuilder
?
,
context
:
CommandBuildContext
,
info
:
CommandBuilder.Info
)
Types
Info
Link copied to clipboard
data
class
Info
(
val
name
:
String
,
val
description
:
Description
,
val
aliases
:
List
<
String
>
)
Properties
context
Link copied to clipboard
val
context
:
CommandBuildContext
info
Link copied to clipboard
val
info
:
CommandBuilder.Info
parent
Link copied to clipboard
val
parent
:
CommandBuilder
?
Functions
build
Link copied to clipboard
open
override
fun
build
(
)
:
List
<
Command
<
out
Audience
>
>
create
Link copied to clipboard
fun
create
(
name
:
String
,
description
:
String
,
vararg
aliases
:
String
,
builder
:
Command.Builder
<
Audience
>
.
(
)
->
Command.Builder
<
out
Audience
>
)
to
Component
Link copied to clipboard
open
override
fun
toComponent
(
)
:
TextComponent