From 6d0db182b962b106a894eee718886e0d8aff8fee Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Thu, 9 Apr 2020 17:10:44 +0900 Subject: [PATCH] Add new alias VerificationLevel.very_high --- discord/enums.py | 1 + docs/api.rst | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/discord/enums.py b/discord/enums.py index 645efefa1..8feb13bb4 100644 --- a/discord/enums.py +++ b/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 diff --git a/docs/api.rst b/docs/api.rst index 7cf30bec4..6448ab418 100644 --- a/docs/api.rst +++ b/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.