Slash
0.11.0
Slash
/
tv.blademaker.slash.internal
/
ModalHandler
Modal
Handler
class
ModalHandler
(
val
parent
:
BaseSlashCommand
,
function
:
KFunction
<
*
>
)
:
Handler
Constructors
Functions
Properties
Constructors
Modal
Handler
Link copied to clipboard
fun
ModalHandler
(
parent
:
BaseSlashCommand
,
function
:
KFunction
<
*
>
)
Functions
execute
Link copied to clipboard
suspend
fun
execute
(
ctx
:
ModalContext
)
matcher
Link copied to clipboard
fun
matcher
(
input
:
String
)
:
Matcher
matches
Link copied to clipboard
fun
matches
(
input
:
String
)
:
Boolean
Properties
parent
Link copied to clipboard
open
override
val
parent
:
BaseSlashCommand
path
Link copied to clipboard
open
override
val
path
:
String