aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapple502j <[email protected]>2019-09-26 15:24:34 +0900
committerRapptz <[email protected]>2019-10-17 05:56:01 -0400
commit6241983a994377e8bb9a99f20092f5c61475264f (patch)
tree8b034a39c9d9c04e30a005d5e42035481b223f1d
parentThe LURKABLE feature has been renamed to PUBLIC (diff)
downloaddiscord.py-6241983a994377e8bb9a99f20092f5c61475264f.tar.xz
discord.py-6241983a994377e8bb9a99f20092f5c61475264f.zip
Add europe region
-rw-r--r--discord/enums.py1
-rw-r--r--docs/api.rst9
2 files changed, 10 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py
index b8a7fa7e..ac85b6b7 100644
--- a/discord/enums.py
+++ b/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'
diff --git a/docs/api.rst b/docs/api.rst
index b74cfaaf..c2e94798 100644
--- a/docs/api.rst
+++ b/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.