Class SlashCommandUpdater

    • Constructor Detail

      • SlashCommandUpdater

        public SlashCommandUpdater​(long commandId)
        Creates a new slash command updater.
        Parameters:
        commandId - The slash command id which should be updated.
    • Method Detail

      • setSlashCommandOptions

        public SlashCommandUpdater setSlashCommandOptions​(java.util.List<SlashCommandOption> slashCommandOptions)
        Sets the new slash command options.
        Parameters:
        slashCommandOptions - The slash command options to set.
        Returns:
        The current instance in order to chain call methods.