withGuildLocale

@CheckReturnValue
abstract fun withGuildLocale(guildLocale: Locale?): TextLocalizationContext(source)

Returns a new TextLocalizationContext with the specified guild locale.

Parameters

guildLocale

The guild locale to use, or null to remove it