Package com.reign.kat.lib.command.slash
Class SlashCommandContext
java.lang.Object
com.reign.kat.lib.command.Context
com.reign.kat.lib.command.slash.SlashCommandContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal net.dv8tion.jda.api.interactions.InteractionHookWebhook to the interaction, we can use this for deferred replys up to 15 minutes after handling the interaction.final net.dv8tion.jda.api.interactions.commands.SlashCommandInteractionInformation about the executing slash command
- 
Constructor SummaryConstructorsConstructorDescriptionSlashCommandContext(net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event, Command command, List<String> args) 
- 
Method Summary
- 
Field Details- 
interactionpublic final net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction interactionInformation about the executing slash command
- 
hookpublic final net.dv8tion.jda.api.interactions.InteractionHook hookWebhook to the interaction, we can use this for deferred replys up to 15 minutes after handling the interaction.
 
- 
- 
Constructor Details- 
SlashCommandContext
 
- 
- 
Method Details- 
eventpublic net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event()
- 
prefix
- 
canProvideInteractionHookpublic boolean canProvideInteractionHook()- Overrides:
- canProvideInteractionHookin class- Context
 
- 
hookpublic net.dv8tion.jda.api.interactions.InteractionHook hook()
- 
send
- 
sendpublic void send(net.dv8tion.jda.api.entities.MessageEmbed... embeds) 
 
-