diff options
| author | Rapptz <[email protected]> | 2015-11-28 22:35:53 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-28 22:35:53 -0500 |
| commit | ed53f3fb3ae02b38b269bd9db40fcfa59d544e82 (patch) | |
| tree | 92e4ba67ba5138776f4dc7c1a865a68654637bd5 /discord/message.py | |
| parent | Switch to Sphinx RTD theme. (diff) | |
| download | discord.py-ed53f3fb3ae02b38b269bd9db40fcfa59d544e82.tar.xz discord.py-ed53f3fb3ae02b38b269bd9db40fcfa59d544e82.zip | |
Add caveat note about Message.mention_everyone
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index 9f31a135..be0282fd 100644 --- a/discord/message.py +++ b/discord/message.py @@ -68,6 +68,13 @@ class Message(object): .. attribute:: mention_everyone A boolean specifying if the message mentions everyone. + + .. 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. + .. attribute:: mentions A list of :class:`Member` that were mentioned. If the message is in a private message |