Class MessageResolver

java.lang.Object
com.github.kaktushose.jda.commands.message.MessageResolver

public class MessageResolver extends Object

The MessageResolver combines I18n.localize(Locale, String, Entry...) and EmojiResolver.resolve(String).

It will resolve the message in following order:

  1. resolve placeholders with help of PlaceholderResolver
  2. do localization with help of I18n
  3. resolve emojis with help EmojiResolver

Please note that this class is a helper and doesn't have own resolving logic, it's more of a pipeline to EmojiResolver and I18n. It is not intended to be directly used by end users but part of the public api to allow manual execution of the frameworks resolving logic for dynamic values if needed.