aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-04-08 22:02:38 -0400
committerRapptz <[email protected]>2016-04-08 22:02:38 -0400
commit72e84a1b47049d44498738458f8bf89c302a033a (patch)
treea3dbf45c3063494cafa2a8898e6e401ca686d8db /README.md
parentChange login, start and run to be variadic. (diff)
downloaddiscord.py-72e84a1b47049d44498738458f8bf89c302a033a.tar.xz
discord.py-72e84a1b47049d44498738458f8bf89c302a033a.zip
Change all email/password pair examples to use token.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index ced29904..336e7ae8 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ async def on_message(message):
await asyncio.sleep(5)
await client.send_message(message.channel, 'Done sleeping')
-client.run('email', 'password')
+client.run('token')
```
Note that in Python 3.4 you use `@asyncio.coroutine` instead of `async def` and `yield from` instead of `await`.