Interface SlashCommandInteraction

    • Method Detail

      • getArguments

        java.util.List<SlashCommandInteractionOption> getArguments()
        Gets the arguments of this slash command if there are any.

        This is a shorthand method to avoid checking for Subcommmands or SubcommandGroups to get the slash command arguments.

        Returns:
        The argument options.
      • 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.