Interface SlashCommand

    • Method Detail

      • getMentionTag

        default java.lang.String getMentionTag()
        Gets the mention tag of this slash command with its base name.
        Specified by:
        getMentionTag in interface Mentionable
        Returns:
        The mention tag of this slash command.
      • getMentionTags

        default java.util.List<java.lang.String> getMentionTags()
        Gets all mention tags of this slash command taking the groups and subcommands into account.
        Returns:
        All mention tags of this slash command.
      • getFullCommandNames

        java.util.List<java.lang.String> getFullCommandNames()
        Gets the full command names.
        Returns:
        All command names for this slash command.
      • getOptions

        java.util.List<SlashCommandOption> getOptions()
        Gets all options (i.e., parameters) for this command.
        Returns:
        All options (i.e., parameters) for this command.
      • createSlashCommandUpdater

        default SlashCommandUpdater createSlashCommandUpdater()
        Creates a slash command updater from this SlashCommand instance.
        Returns:
        The slash command updater for this SlashCommand instance.