JDA icon indicating copy to clipboard operation
JDA copied to clipboard

Refactor `LocalizationMapper` to enable more checks

Open freya022 opened this issue 1 year ago • 0 comments

Pull Request Etiquette

Changes

  • [X] Internal code
  • [ ] Library interface (affecting end-user code)
  • [ ] Documentation
  • [X] Other: Tests

Closes Issue: NaN

Description

Refactors the localization mapper since we now have the full objects, instead of the raw data.

This enables the checks on options and choices, which wasn't possible before.

Since this now adds the localized strings on the Java objects (instead of JSON), you can read those after pushing the command to Discord.

freya022 avatar May 05 '24 21:05 freya022