aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
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 /discord/client.py
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.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py6
1 files changed, 3 insertions, 3 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.