Doc string typos
This commit is contained in:
parent
e516c24746
commit
7d5d8aa918
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user