Change all email/password pair examples to use token.

This commit is contained in:
Rapptz
2016-04-08 22:02:38 -04:00
parent 93edf88ee4
commit 72e84a1b47
11 changed files with 13 additions and 13 deletions

View File

@@ -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`.