Browse Source

Some documentation warning fixes.

pull/1/head
Rapptz 10 years ago
parent
commit
b5a371812f
  1. 6
      discord/client.py
  2. 2
      discord/message.py

6
discord/client.py

@ -364,9 +364,9 @@ class Client(object):
Example: :: Example: ::
for message in client.logs_from(channel): for message in client.logs_from(channel):
if message.content.startswith('!hello'): if message.content.startswith('!hello'):
client.edit_message(message, 'goodbye') client.edit_message(message, 'goodbye')
:param channel: The :class:`Channel` to obtain the logs from. :param channel: The :class:`Channel` to obtain the logs from.

2
discord/message.py

@ -61,7 +61,7 @@ class Message(object):
A boolean specifying if the message mentions everyone. A boolean specifying if the message mentions everyone.
.. attribute:: mentions .. attribute:: mentions
An array of :class:`User`s that were mentioned. An array of :class:`User` that were mentioned.
.. attribute:: id .. attribute:: id
The message ID. The message ID.

Loading…
Cancel
Save