Update Message.mention_everyone docs to include @here

This commit is contained in:
Laurenz 2018-12-13 12:17:11 +01:00 committed by Rapptz
parent 2c7c541f4e
commit dd884a6afe
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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