diff options
| author | Rapptz <[email protected]> | 2016-04-08 22:02:38 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-04-08 22:02:38 -0400 |
| commit | 72e84a1b47049d44498738458f8bf89c302a033a (patch) | |
| tree | a3dbf45c3063494cafa2a8898e6e401ca686d8db /README.md | |
| parent | Change login, start and run to be variadic. (diff) | |
| download | discord.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.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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`. |