mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
CommandReceiverParameter
/
Context
Context
@
ExperimentalCommandDescriptors
class
Context
(
val
isOptional
:
Boolean
,
val
type
:
KType
=
typeOf<CommandContext>()
)
:
CommandReceiverParameter
<
CommandContext
>
Since
2.12
Members
Constructors
Context
Link copied to clipboard
constructor
(
isOptional
:
Boolean
,
type
:
KType
=
typeOf<CommandContext>()
)
Properties
is
Optional
Link copied to clipboard
open
override
val
isOptional
:
Boolean
name
Link copied to clipboard
open
override
val
name
:
String
type
Link copied to clipboard
open
override
val
type
:
KType
Reified type of
T