MessageSourceFactory
annotation class MessageSourceFactory(val bundleName: String, val discordLocales: Array<DiscordLocale> = [], val locales: Array<String> = [], val ignoreEmptyLocales: Boolean = false)(source)
Mandatory annotation for interfaces extending IMessageSourceFactory.
See also
Properties
Link copied to clipboard
The name of the bundle to get the templates from.
Link copied to clipboard
The DiscordLocales available for the corresponding bundle. It is recommended to put all the locales supported, so the framework can check for errors early.
Link copied to clipboard
Whether to ignore when discordLocales and locales are empty. This should be set to true only if you use this as a non-localized message source.
Link copied to clipboard
The locale language tags available for the corresponding bundle. It is recommended to put all the locales supported, so the framework can check for errors early.