Browse Source

Add europe region

pull/2378/head
apple502j 6 years ago
committed by Rapptz
parent
commit
6241983a99
  1. 1
      discord/enums.py
  2. 9
      docs/api.rst

1
discord/enums.py

@ -191,6 +191,7 @@ class VoiceRegion(Enum):
japan = 'japan'
southafrica = 'southafrica'
india = 'india'
europe = 'europe'
vip_us_east = 'vip-us-east'
vip_us_west = 'vip-us-west'
vip_amsterdam = 'vip-amsterdam'

9
docs/api.rst

@ -848,6 +848,12 @@ of :class:`enum.Enum`.
.. class:: VoiceRegion
Specifies the region a voice server belongs to.
.. versionchanged:: 1.2
The ``india`` region was added.
.. versionchanged:: 1.3
The ``europe`` region was added.
.. attribute:: amsterdam
@ -861,6 +867,9 @@ of :class:`enum.Enum`.
.. attribute:: eu_west
The EU West region.
.. attribute:: europe
The Europe region.
.. attribute:: frankfurt
The Frankfurt region.

Loading…
Cancel
Save