mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Remove VerificationLevel aliases
This commit is contained in:
parent
36cf3c94b4
commit
67aabc3230
@ -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
|
||||
|
15
docs/api.rst
15
docs/api.rst
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user