Slash Command Context Impl
class SlashCommandContextImpl(val event: SlashCommandInteractionEvent, val client: SlashCommandClient, val function: KFunction<*>) : SlashCommandContext
Constructors
Link copied to clipboard
constructor(event: SlashCommandInteractionEvent, client: SlashCommandClient, function: KFunction<*>)
Functions
Link copied to clipboard
Automatically detect if the interaction is already acknowledge and if not will acknowledge it.
Link copied to clipboard
Link copied to clipboard
Build a ContextAction using DSL.
Link copied to clipboard
Build a ContextAction using DSL.
Link copied to clipboard
Reply to the event with the given embed.
Link copied to clipboard
SReply to the event with the given content.
Reply to the event with the given content.
Link copied to clipboard
open fun replyModal(customId: String, title: String, builder: Modal.Builder.() -> Unit): ModalCallbackAction
Link copied to clipboard
Link copied to clipboard
Send a follow-up message with the given content.