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.