Remove VerificationLevel aliases

This commit is contained in:
Stanisław Jelnicki 2021-05-26 02:51:08 +02:00 committed by GitHub
parent 36cf3c94b4
commit 67aabc3230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 22 deletions

View File

@ -225,14 +225,11 @@ class SpeakingState(Enum):
return self.value
class VerificationLevel(Enum):
none = 0
low = 1
medium = 2
high = 3
table_flip = 3
extreme = 4
double_table_flip = 4
very_high = 4
none = 0
low = 1
medium = 2
high = 3
highest = 4
def __str__(self):
return self.name

View File

@ -1301,23 +1301,10 @@ of :class:`enum.Enum`.
Member must have a verified email, be registered on Discord for more
than five minutes, and be a member of the guild itself for more than
ten minutes.
.. attribute:: table_flip
An alias for :attr:`high`.
.. attribute:: extreme
.. attribute:: highest
Member must have a verified phone on their Discord account.
.. attribute:: double_table_flip
An alias for :attr:`extreme`.
.. attribute:: very_high
An alias for :attr:`extreme`.
.. versionadded:: 1.4
.. class:: NotificationLevel
Specifies whether a :class:`Guild` has notifications on for all messages or mentions only by default.