Slash
16eb0b8
jvm
Slash
/
tv.blademaker.slash.internal
/
SlashCommandHandler
Slash
Command
Handler
class
SlashCommandHandler
(
val
parent
:
BaseSlashCommand
,
val
function
:
KFunction
<
*
>
)
:
Handler
Members
Constructors
Slash
Command
Handler
Link copied to clipboard
constructor
(
parent
:
BaseSlashCommand
,
function
:
KFunction
<
*
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
function
Link copied to clipboard
open
override
val
function
:
KFunction
<
*
>
parent
Link copied to clipboard
open
override
val
parent
:
BaseSlashCommand
path
Link copied to clipboard
open
override
val
path
:
String
permissions
Link copied to clipboard
val
permissions
:
Permissions
?
rate
Limit
Link copied to clipboard
val
rateLimit
:
RateLimit
?
target
Link copied to clipboard
val
target
:
InteractionTarget
Functions
execute
Link copied to clipboard
suspend
fun
execute
(
ctx
:
SlashCommandContext
,
timeout
:
Duration
)