Guild Slash Command Event
data class GuildSlashCommandEvent<T : TypeContainer>(val rawInputs: RawInputs, val discord: Discord, val message: Message?, val author: User, val channel: MessageChannel, val guild: Guild, val interaction: GuildApplicationCommandInteraction?) : SlashCommandEvent<T> , SlashResponder
An event fired by a guild slash command.
Properties
Functions
Link copied to clipboard
Clone this event's context data with new inputs.
Link copied to clipboard
Respond with a Menu.
Link copied to clipboard
open suspend fun respondPublic(message: Any = "", embed: suspend EmbedBuilder.() -> Unit? = null): InteractionResponseBehavior?
Create a public slash response with text and/or an embed.