mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Update Message.mention_everyone docs to include @here
This commit is contained in:
parent
2c7c541f4e
commit
dd884a6afe
@ -142,9 +142,9 @@ class Message:
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
This does not check if the ``@everyone`` text is in the message itself.
|
This does not check if the ``@everyone`` or the ``@here`` text is in the message itself.
|
||||||
Rather this boolean indicates if the ``@everyone`` text is in the message
|
Rather this boolean indicates if either the ``@everyone`` or the ``@here`` text is in the message
|
||||||
**and** it did end up mentioning everyone.
|
**and** it did end up mentioning.
|
||||||
|
|
||||||
mentions: :class:`list`
|
mentions: :class:`list`
|
||||||
A list of :class:`Member` that were mentioned. If the message is in a private message
|
A list of :class:`Member` that were mentioned. If the message is in a private message
|
||||||
|
@ -368,7 +368,7 @@ class Permissions:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def mention_everyone(self):
|
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)
|
return self._bit(17)
|
||||||
|
|
||||||
@mention_everyone.setter
|
@mention_everyone.setter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user