Browse Source

Change enum members in Locale to be snake_case

Not even sure how this slipped through.
pull/7524/head
Rapptz 3 years ago
parent
commit
06291d860c
  1. 4
      discord/enums.py
  2. 4
      docs/api.rst

4
discord/enums.py

@ -625,8 +625,8 @@ class Locale(Enum):
norwegian = 'no'
polish = 'pl'
brazil_portuguese = 'pt-BR'
Romanian = 'ro'
Russian = 'ru'
romanian = 'ro'
russian = 'ru'
spain_spanish = 'es-ES'
swedish = 'sv-SE'
thai = 'th'

4
docs/api.rst

@ -2579,11 +2579,11 @@ of :class:`enum.Enum`.
The ``pt-BR`` locale.
.. attribute:: Romanian
.. attribute:: romanian
The ``ro`` locale.
.. attribute:: Russian
.. attribute:: russian
The ``ru`` locale.

Loading…
Cancel
Save