Companion

Functions

Link copied to clipboard
fun create(context: BContext, localizationBundle: String, localizationPrefix: String? = null, guildLocale: DiscordLocale? = null, userLocale: DiscordLocale? = null): AppLocalizationContext
fun create(localizationService: LocalizationService, localizationBundle: String, localizationPrefix: String? = null, guildLocale: DiscordLocale? = null, userLocale: DiscordLocale? = null): AppLocalizationContext
Link copied to clipboard
fun fromLocaleProviders(context: BContext, event: Interaction, localizationBundle: String, localizationPrefix: String? = null): AppLocalizationContext
fun fromLocaleProviders(context: BContext, event: MessageReceivedEvent, localizationBundle: String, localizationPrefix: String? = null, userLocale: DiscordLocale? = null): TextLocalizationContext