Package org.javacord.api.interaction
Interface SlashCommandInteraction
-
- All Superinterfaces:
ApplicationCommandInteraction,DiscordEntity,InteractionBase,SlashCommandInteractionOptionsProvider
- All Known Subinterfaces:
AutocompleteInteraction
public interface SlashCommandInteraction extends ApplicationCommandInteraction, SlashCommandInteractionOptionsProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFullCommandName()Gets the full command name of this slash command including the name of the Subcommand and SubcommandGroup.-
Methods inherited from interface org.javacord.api.interaction.ApplicationCommandInteraction
getCommandId, getCommandIdAsString, getCommandName, getRegisteredCommandServer, getRegisteredCommandServerId
-
Methods inherited from interface org.javacord.api.entity.DiscordEntity
getApi, getCreationTimestamp, getId, getIdAsString
-
Methods inherited from interface org.javacord.api.interaction.InteractionBase
createFollowupMessageBuilder, createImmediateResponder, getApplicationId, getBotPermissions, getChannel, getLocale, getServer, getServerLocale, getToken, getType, getUser, getVersion, respondLater, respondLater, respondWithModal, respondWithModal
-
Methods inherited from interface org.javacord.api.interaction.SlashCommandInteractionOptionsProvider
getArgumentAttachmentValueByIndex, getArgumentAttachmentValueByName, getArgumentBooleanValueByIndex, getArgumentBooleanValueByName, getArgumentByIndex, getArgumentByName, getArgumentChannelValueByIndex, getArgumentChannelValueByName, getArgumentDecimalValueByIndex, getArgumentDecimalValueByName, getArgumentLongValueByIndex, getArgumentLongValueByName, getArgumentMentionableValueByIndex, getArgumentMentionableValueByName, getArgumentRoleValueByIndex, getArgumentRoleValueByName, getArguments, getArgumentStringRepresentationValueByIndex, getArgumentStringRepresentationValueByName, getArgumentStringValueByIndex, getArgumentStringValueByName, getArgumentUserValueByIndex, getArgumentUserValueByName, getOptionByIndex, getOptionByName, getOptions, requestArgumentMentionableValueByIndex, requestArgumentMentionableValueByName, requestArgumentUserValueByIndex, requestArgumentUserValueByName
-
-
-
-
Method Detail
-
getFullCommandName
java.lang.String getFullCommandName()
Gets the full command name of this slash command including the name of the Subcommand and SubcommandGroup.This is a shorthand method to get the complete name without having to check for Subcommands or SubcommandGroups.
- Returns:
- The full command name.
-
-