aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-04-11 14:30:44 -0400
committerRapptz <[email protected]>2016-04-11 14:30:44 -0400
commit5c407df2b7200a937868eb0fef9b61a0950415a9 (patch)
tree7294c706ad14f1f14f09686a5e4481ebcf2a5d5d
parentCheck the right status code for improper token being passed. (diff)
downloaddiscord.py-5c407df2b7200a937868eb0fef9b61a0950415a9.tar.xz
discord.py-5c407df2b7200a937868eb0fef9b61a0950415a9.zip
Fix Client.login documentation to showcase email/password login.
-rw-r--r--discord/client.py2
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`.