SlashCommandHandler

class SlashCommandHandler(val parent: BaseSlashCommand, val function: KFunction<*>) : Handler

Constructors

Link copied to clipboard
constructor(parent: BaseSlashCommand, function: KFunction<*>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val function: KFunction<*>
Link copied to clipboard
open override val parent: BaseSlashCommand
Link copied to clipboard
open override val path: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun execute(ctx: SlashCommandContext, timeout: Duration)