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