mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-10-28 15:59:04 +00:00
Fix documentation example issue.
This commit is contained in:
1 parent
a1c5e9f4d9
commit
59808727ef
1 file changed
+1
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user