Browse Source

Add note for Message.tts

Fix #2186
pull/2188/head
Rapptz 6 years ago
parent
commit
ab6dd2a27a
  1. 2
      discord/message.py

2
discord/message.py

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

Loading…
Cancel
Save