withGuildLocale

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

Returns a new TextLocalizationContext with the specified guild locale.

Parameters

guildLocale

The guild locale to use, or null to remove it