Browse Source

Add new alias VerificationLevel.very_high

pull/2650/head
apple502j 5 years ago
parent
commit
6d0db182b9
  1. 1
      discord/enums.py
  2. 6
      docs/api.rst

1
discord/enums.py

@ -221,6 +221,7 @@ class VerificationLevel(Enum):
table_flip = 3
extreme = 4
double_table_flip = 4
very_high = 4
def __str__(self):
return self.name

6
docs/api.rst

@ -1053,6 +1053,12 @@ of :class:`enum.Enum`.
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…
Cancel
Save