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
parent
commit
4fc1539e32
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/enums.py

2
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
"""

Loading…
Cancel
Save