Doc string typos

This commit is contained in:
PapyrusThePlant 2016-06-14 15:29:36 +02:00 committed by Rapptz
parent e516c24746
commit 7d5d8aa918

View File

@ -588,7 +588,7 @@ class Client:
@client.async_event
def on_message(message):
if message.content.startswith('$greet')
if message.content.startswith('$greet'):
yield from client.send_message(message.channel, 'Say hello')
msg = yield from client.wait_for_message(author=message.author, content='hello')
yield from client.send_message(message.channel, 'Hello.')
@ -600,7 +600,7 @@ class Client:
@client.async_event
def on_message(message):
if message.content.startswith('$start')
if message.content.startswith('$start'):
yield from client.send_message(message.channel, 'Type $stop 4 times.')
for i in range(4):
msg = yield from client.wait_for_message(author=message.author, content='$stop')