aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <[email protected]>2018-12-13 12:17:11 +0100
committerRapptz <[email protected]>2018-12-14 19:05:34 -0500
commitdd884a6afe8eace04e6033ee43a75c46763044e1 (patch)
tree776b28c10b61279981c8f26203292537bb6c593d
parentAdded User.mutual_friends() (diff)
downloaddiscord.py-dd884a6afe8eace04e6033ee43a75c46763044e1.tar.xz
discord.py-dd884a6afe8eace04e6033ee43a75c46763044e1.zip
Update Message.mention_everyone docs to include @here
-rw-r--r--discord/message.py6
-rw-r--r--discord/permissions.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/discord/message.py b/discord/message.py
index 35d7626e..b1c24b6d 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 1a8866a3..3d2f2af3 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