Package-level declarations

Types

Link copied to clipboard

Opt-in marker annotation for the type-safe (localized) messages feature.

Link copied to clipboard
annotation class LocalizedContent(val templateKey: String)

Annotates a method as a message supplier.

Link copied to clipboard
annotation class MessageSourceFactory(val bundleName: String, val discordLocales: Array<DiscordLocale> = [], val locales: Array<String> = [], val ignoreEmptyLocales: Boolean = false)

Mandatory annotation for interfaces extending IMessageSourceFactory.

Link copied to clipboard

Allows changing the default locale with another preferred locale, the available locales will depend on how the message source was created.