diff options
| author | Rapptz <[email protected]> | 2016-04-11 14:30:44 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-04-11 14:30:44 -0400 |
| commit | 5c407df2b7200a937868eb0fef9b61a0950415a9 (patch) | |
| tree | 7294c706ad14f1f14f09686a5e4481ebcf2a5d5d | |
| parent | Check the right status code for improper token being passed. (diff) | |
| download | discord.py-5c407df2b7200a937868eb0fef9b61a0950415a9.tar.xz discord.py-5c407df2b7200a937868eb0fef9b61a0950415a9.zip | |
Fix Client.login documentation to showcase email/password login.
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index d80e73bf..9f5d5ef4 100644 --- a/discord/client.py +++ b/discord/client.py @@ -510,7 +510,7 @@ class Client: # or - await client.login('token') + await client.login('email', 'password') More than 2 parameters or less than 1 parameter raises a :exc:`TypeError`. |