mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
doc formatting test
This commit is contained in:
@@ -125,13 +125,12 @@ Functions
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
login(email, password, `callback`)
|
login(email, password, `callback`)
|
||||||
~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
`Parameters`:
|
`Parameters`:
|
||||||
|
|
||||||
- `email` - A `String` which is the email you want to sign in with.
|
- **email** - A `String` which is the email you want to sign in with.
|
||||||
- `password` - A `String` which is the password you want to sign in with.
|
- **password** - A `String` which is the password you want to sign in with.
|
||||||
- `callback` - A `function` that can take the following parameters:
|
- **callback** - A `function` that can take the following parameters:
|
||||||
|
- **error** - null if there was no error, otherwise it is set.
|
||||||
- `error` - null if there was no error, otherwise it is set.
|
- **token** - if successful, it is the received authorisation token.
|
||||||
- `token` - if successful, it is the received authorisation token.
|
|
||||||
Reference in New Issue
Block a user