Fix documentation example issue.
This commit is contained in:
parent
a1c5e9f4d9
commit
59808727ef
@ -367,6 +367,7 @@ class Client(object):
|
||||
|
||||
for message in client.logs_from(channel):
|
||||
if message.content.startswith('!hello'):
|
||||
if message.author == client.user:
|
||||
client.edit_message(message, 'goodbye')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user