Class SlashCommandCustomizer


public class SlashCommandCustomizer extends SlashCommandCustomizerInterface
This class contains methods to customize slash commands by implementing SlashCommandCustomizerInterface
  • Constructor Details

    • SlashCommandCustomizer

      public SlashCommandCustomizer(org.javacord.api.interaction.SlashCommandBuilder command)
      Constructor for the customizer
      Parameters:
      command - the slash command to be customized
  • Method Details

    • setCustomizations

      public org.javacord.api.interaction.SlashCommandBuilder setCustomizations()
      Method to save the customizations done to the slash command
      Returns:
      the customized slash command builder