Class LocalizedField

java.lang.Object
de.chojo.jdautil.localization.util.LocalizedField

public class LocalizedField extends Object
  • Constructor Details

    • LocalizedField

      public LocalizedField(Localizer localizer, String title, String description, boolean inline, CommandInteraction eventWrapper)
      Creates a localized field.
      Parameters:
      title - title of the field
      description - description of the field
      inline - true if inline
      eventWrapper - message context for language detection
  • Method Details

    • getField

      public MessageEmbed.Field getField()
      Get the localized field.
      Returns:
      localized field