localizeGuildOrNull
open fun localizeGuildOrNull(localizationPath: String, vararg entries: Localization.Entry): String?(source)
Localizes the provided path, with the guild's locale, or returns null if the path does not exist.
This will localize to en_US if the Guild does not have the COMMUNITY feature flag.
Parameters
localizationPath
The path of the localization template, prefixed with localizationPrefix
entries
The entries to fill the template with
See also
Throws
If the event did not happen in a Guild