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 /docs | |
| 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 'docs')
| -rw-r--r-- | docs/migrating.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index df0526c2..7ad9e6a1 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -292,14 +292,14 @@ Basically, before: .. code-block:: python - client.login('email', 'password') + client.login('token') client.run() After: .. code-block:: python - client.run('email', 'password') + client.run('token') .. warning:: @@ -321,7 +321,7 @@ event loop then doing so is quite straightforward: @asyncio.coroutine def main_task(): - yield from client.login('email', 'password') + yield from client.login('token') yield from client.connect() loop = asyncio.get_event_loop() |