getLocale

suspend fun MessageCreateEvent.getLocale(): Locale

Attempt to resolve the locale for the given MessageCreateEvent object.


suspend fun InteractionCreateEvent.getLocale(): Locale

Attempt to resolve the locale for the given InteractionCreateEvent object.