Add note for Message.tts

Fix #2186
This commit is contained in:
Rapptz 2019-05-25 06:17:52 -04:00
parent 3c387e9031
commit ab6dd2a27a

View File

@ -167,6 +167,8 @@ class Message:
----------- -----------
tts: :class:`bool` tts: :class:`bool`
Specifies if the message was done with text-to-speech. 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` type: :class:`MessageType`
The type of message. In most cases this should not be checked, but it is helpful 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`. in cases where it might be a system message for :attr:`system_content`.