Browse Source
Update discord/enums.py
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
pull/10222/head
鏡花水月
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
discord/enums.py
|
|
@ -770,7 +770,7 @@ class Locale(Enum): |
|
|
|
|
|
|
|
@property |
|
|
|
def language_code(self) -> str: |
|
|
|
"""Returns the locale's language code in the format of ``language-COUNTRY``. |
|
|
|
""":class:`str`: Returns the locale's BCP 47 language code in the format of ``language-COUNTRY``. |
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
""" |
|
|
|