Uses of Interface
org.javacord.api.interaction.SlashCommandInteraction
-
Packages that use SlashCommandInteraction Package Description org.javacord.api.event.interaction org.javacord.api.interaction -
-
Uses of SlashCommandInteraction in org.javacord.api.event.interaction
Methods in org.javacord.api.event.interaction that return SlashCommandInteraction Modifier and Type Method Description default SlashCommandInteractionSlashCommandCreateEvent. getSlashCommandInteraction()Gets the created interaction as SlashCommandInteraction, if the interaction is of this type.Methods in org.javacord.api.event.interaction that return types with arguments of type SlashCommandInteraction Modifier and Type Method Description default java.util.Optional<SlashCommandInteraction>InteractionCreateEvent. getSlashCommandInteraction()Gets the created interaction as SlashCommandInteraction, if the interaction is of this type.default java.util.Optional<SlashCommandInteraction>InteractionCreateEvent. getSlashCommandInteractionWithCommandId(long commandId)Gets the created interaction as SlashCommandInteraction, if the interaction is of this type and the command id equals the given command id.default java.util.Optional<SlashCommandInteraction>SlashCommandCreateEvent. getSlashCommandInteractionWithCommandId(long commandId)Gets the created interaction as SlashCommandInteraction, if the interaction is of this type and the command id equals the given command id. -
Uses of SlashCommandInteraction in org.javacord.api.interaction
Subinterfaces of SlashCommandInteraction in org.javacord.api.interaction Modifier and Type Interface Description interfaceAutocompleteInteractionMethods in org.javacord.api.interaction that return types with arguments of type SlashCommandInteraction Modifier and Type Method Description default java.util.Optional<SlashCommandInteraction>Interaction. asSlashCommandInteraction()Get this interaction as slash command interaction if the type matches.default java.util.Optional<SlashCommandInteraction>Interaction. asSlashCommandInteractionWithCommandId(long commandId)Get this interaction as slash command interaction if the type and the command id match.
-