Fix documentation example issue.

This commit is contained in:
Rapptz 2015-08-23 00:55:49 -04:00
parent a1c5e9f4d9
commit 59808727ef

View File

@ -367,7 +367,8 @@ class Client(object):
for message in client.logs_from(channel):
if message.content.startswith('!hello'):
client.edit_message(message, 'goodbye')
if message.author == client.user:
client.edit_message(message, 'goodbye')
:param channel: The :class:`Channel` to obtain the logs from.