Add highest verification level.

This commit is contained in:
Rapptz 2017-05-27 01:12:06 -04:00
parent 093d888173
commit ee3c77353f
2 changed files with 14 additions and 5 deletions

View File

@ -70,11 +70,13 @@ class VoiceRegion(Enum):
return self.value
class VerificationLevel(Enum):
none = 0
low = 1
medium = 2
high = 3
table_flip = 3
none = 0
low = 1
medium = 2
high = 3
table_flip = 3
highest = 4
double_table_flip = 4
def __str__(self):
return self.name

View File

@ -679,6 +679,13 @@ All enumerations are subclasses of `enum`_.
.. attribute:: table_flip
An alias for :attr:`high`.
.. attribute:: highest
Member must have a verified phone on their Discord account.
.. attribute:: double_table_flip
An alias for :attr:`highest`.
.. class:: ContentFilter