diff options
| author | PapyrusThePlant <[email protected]> | 2016-06-14 15:29:36 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-14 18:53:40 -0400 |
| commit | 7d5d8aa918d3520f3494bb03ce6bdccf8e2dfc82 (patch) | |
| tree | a09626bbd946246df0898ac9c8605b70da195369 | |
| parent | Fix exception when handling login failure (diff) | |
| download | discord.py-7d5d8aa918d3520f3494bb03ce6bdccf8e2dfc82.tar.xz discord.py-7d5d8aa918d3520f3494bb03ce6bdccf8e2dfc82.zip | |
Doc string typos
| -rw-r--r-- | discord/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py index 9ea3f20b..a62b37a8 100644 --- a/discord/client.py +++ b/discord/client.py @@ -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') |