From dd884a6afe8eace04e6033ee43a75c46763044e1 Mon Sep 17 00:00:00 2001 From: Laurenz <10470023+gamescom15@users.noreply.github.com> Date: Thu, 13 Dec 2018 12:17:11 +0100 Subject: [PATCH] Update Message.mention_everyone docs to include @here --- discord/message.py | 6 +++--- discord/permissions.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/message.py b/discord/message.py index 35d7626ed..b1c24b6de 100644 --- a/discord/message.py +++ b/discord/message.py @@ -142,9 +142,9 @@ class Message: .. note:: - This does not check if the ``@everyone`` text is in the message itself. - Rather this boolean indicates if the ``@everyone`` text is in the message - **and** it did end up mentioning everyone. + This does not check if the ``@everyone`` or the ``@here`` text is in the message itself. + Rather this boolean indicates if either the ``@everyone`` or the ``@here`` text is in the message + **and** it did end up mentioning. mentions: :class:`list` A list of :class:`Member` that were mentioned. If the message is in a private message diff --git a/discord/permissions.py b/discord/permissions.py index 1a8866a3b..3d2f2af35 100644 --- a/discord/permissions.py +++ b/discord/permissions.py @@ -368,7 +368,7 @@ class Permissions: @property def mention_everyone(self): - """Returns True if a user's @everyone will mention everyone in the text channel.""" + """Returns True if a user's @everyone or @here will mention everyone in the text channel.""" return self._bit(17) @mention_everyone.setter