Guild Slash Command Context
open class GuildSlashCommandContext(val client: SlashCommandClient, val event: SlashCommandInteractionEvent, val function: KFunction<*>) : SlashCommandContext
Constructors
Link copied to clipboard
constructor(client: SlashCommandClient, event: SlashCommandInteractionEvent, function: KFunction<*>)
Properties
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
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.