Locale

data class Locale(val language: String, val country: String? = null)(source)

Representation of a locale supported by Discord.

Constructors

Link copied to clipboard
constructor(language: String, country: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val country: String? = null

A country code representing the country.

Link copied to clipboard

A language code representing the language.

Functions

Link copied to clipboard