aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-08-21 23:46:01 -0400
committerRapptz <[email protected]>2015-08-21 23:46:01 -0400
commitb5a371812f9a6f4149540cf75f27fd32ef1eae44 (patch)
tree39c3e57cd3c0509c680bb7505239da54d3befd83
parentAdd logs_from function to get channel logs from a channel. (diff)
downloaddiscord.py-b5a371812f9a6f4149540cf75f27fd32ef1eae44.tar.xz
discord.py-b5a371812f9a6f4149540cf75f27fd32ef1eae44.zip
Some documentation warning fixes.
-rw-r--r--discord/client.py6
-rw-r--r--discord/message.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/discord/client.py b/discord/client.py
index b020f90a..f84209f5 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -364,9 +364,9 @@ class Client(object):
Example: ::
- for message in client.logs_from(channel):
- if message.content.startswith('!hello'):
- client.edit_message(message, 'goodbye')
+ for message in client.logs_from(channel):
+ if message.content.startswith('!hello'):
+ client.edit_message(message, 'goodbye')
:param channel: The :class:`Channel` to obtain the logs from.
diff --git a/discord/message.py b/discord/message.py
index c7d97b04..91140af1 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -61,7 +61,7 @@ class Message(object):
A boolean specifying if the message mentions everyone.
.. attribute:: mentions
- An array of :class:`User`s that were mentioned.
+ An array of :class:`User` that were mentioned.
.. attribute:: id
The message ID.