mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-25 10:32:59 +00:00
Fix documentation example issue.
This commit is contained in:
@@ -367,6 +367,7 @@ class Client(object):
|
|||||||
|
|
||||||
for message in client.logs_from(channel):
|
for message in client.logs_from(channel):
|
||||||
if message.content.startswith('!hello'):
|
if message.content.startswith('!hello'):
|
||||||
|
if message.author == client.user:
|
||||||
client.edit_message(message, 'goodbye')
|
client.edit_message(message, 'goodbye')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user