aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-10-21 21:09:01 -0400
committerRapptz <[email protected]>2015-10-21 21:09:01 -0400
commitc8535f714ec4573d2e7b031fb17cf748b9d2039e (patch)
treeac3fcd4741316c6008ed7e0f47a71e58badbedb5
parentAdd note for edit_role about custom RGB colours. (diff)
downloaddiscord.py-c8535f714ec4573d2e7b031fb17cf748b9d2039e.tar.xz
discord.py-c8535f714ec4573d2e7b031fb17cf748b9d2039e.zip
Documentation fixes for Message.
-rw-r--r--discord/message.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/discord/message.py b/discord/message.py
index 823085cd..060cf73b 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -42,7 +42,7 @@ class Message(object):
A naive UTC datetime object containing the time the message was created.
.. attribute:: tts
- Checks the message has text-to-speech support.
+ A boolean specifying if the message was done with text-to-speech.
.. attribute:: author
A :class:`Member` that sent the message. If :attr:`channel` is a private channel,
@@ -52,7 +52,9 @@ class Message(object):
The actual contents of the message.
.. attribute:: embeds
- An array of embedded objects.
+ A list of embedded objects. The elements are objects that meet oEmbed's specification_.
+
+ .. _specification: http://oembed.com/
.. attribute:: channel
The :class:`Channel` that the message was sent from. Could be a :class:`PrivateChannel` if it's a private message.
@@ -61,13 +63,13 @@ class Message(object):
A boolean specifying if the message mentions everyone.
.. attribute:: mentions
- An array of :class:`User` that were mentioned.
+ A list of :class:`User` that were mentioned.
.. attribute:: id
The message ID.
.. attribute:: attachments
- An array of attachments given to a message.
+ A list of attachments given to a message.
"""
def __init__(self, **kwargs):