mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-06 01:51:59 +00:00
Remove VerificationLevel aliases
This commit is contained in:
parent
36cf3c94b4
commit
67aabc3230
@ -229,10 +229,7 @@ class VerificationLevel(Enum):
|
|||||||
low = 1
|
low = 1
|
||||||
medium = 2
|
medium = 2
|
||||||
high = 3
|
high = 3
|
||||||
table_flip = 3
|
highest = 4
|
||||||
extreme = 4
|
|
||||||
double_table_flip = 4
|
|
||||||
very_high = 4
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
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
|
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
|
than five minutes, and be a member of the guild itself for more than
|
||||||
ten minutes.
|
ten minutes.
|
||||||
.. attribute:: table_flip
|
.. attribute:: highest
|
||||||
|
|
||||||
An alias for :attr:`high`.
|
|
||||||
.. attribute:: extreme
|
|
||||||
|
|
||||||
Member must have a verified phone on their Discord account.
|
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
|
.. class:: NotificationLevel
|
||||||
|
|
||||||
Specifies whether a :class:`Guild` has notifications on for all messages or mentions only by default.
|
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