From 6241983a994377e8bb9a99f20092f5c61475264f Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Thu, 26 Sep 2019 15:24:34 +0900 Subject: [PATCH] Add europe region --- discord/enums.py | 1 + docs/api.rst | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/discord/enums.py b/discord/enums.py index b8a7fa7ec..ac85b6b7a 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 b74cfaaf9..c2e94798a 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.