mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix Client.login documentation to showcase email/password login.
This commit is contained in:
parent
28b3d375e9
commit
5c407df2b7
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user