mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 17:52:55 +00:00
doc formatting test
This commit is contained in:
parent
f10895680f
commit
9588f5cbf5
1 changed files with 6 additions and 7 deletions
|
|
@ -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.
|
|
||||||
Loading…
Reference in a new issue