diff options
| author | Rapptz <[email protected]> | 2019-05-25 06:17:52 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-05-25 06:17:52 -0400 |
| commit | ab6dd2a27a2647d186a4e644332c815854addac2 (patch) | |
| tree | 4d111d4b440ef04f80256352b21f83dfc7b81981 /discord | |
| parent | Use attrgetter to speed up Member attribute access by 2x. (diff) | |
| download | discord.py-ab6dd2a27a2647d186a4e644332c815854addac2.tar.xz discord.py-ab6dd2a27a2647d186a4e644332c815854addac2.zip | |
Add note for Message.tts
Fix #2186
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/message.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index ddc8e612..8bbf539c 100644 --- a/discord/message.py +++ b/discord/message.py @@ -167,6 +167,8 @@ class Message: ----------- tts: :class:`bool` Specifies if the message was done with text-to-speech. + This can only be accurately received in :func:`on_message` due to + a discord limitation. type: :class:`MessageType` The type of message. In most cases this should not be checked, but it is helpful in cases where it might be a system message for :attr:`system_content`. |