mirror of
https://github.com/danbulant/discord.js
synced 2026-06-10 02:02:40 +00:00
Update to docs
This commit is contained in:
parent
fc9c46d1a2
commit
3e9af4454d
1 changed files with 6 additions and 6 deletions
|
|
@ -4,8 +4,8 @@ Client Documentation
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
|
|
||||||
``options``
|
options
|
||||||
~~~~~~~~~~~
|
~~~~~~~
|
||||||
An `Object` containing a configuration for the Client. Currently can only be configured like so:
|
An `Object` containing a configuration for the Client. Currently can only be configured like so:
|
||||||
|
|
||||||
.. code-block:: js
|
.. code-block:: js
|
||||||
|
|
@ -15,12 +15,12 @@ An `Object` containing a configuration for the Client. Currently can only be con
|
||||||
// just send straight away.
|
// just send straight away.
|
||||||
}
|
}
|
||||||
|
|
||||||
``token``
|
token
|
||||||
~~~~~~~~~
|
~~~~~
|
||||||
A `String` that is the token received after logging in. It is used to authorise the Client when joining WebSockets or making HTTP requests.
|
A `String` that is the token received after logging in. It is used to authorise the Client when joining WebSockets or making HTTP requests.
|
||||||
|
|
||||||
``state``
|
state
|
||||||
~~~~~~~~~
|
~~~~~
|
||||||
An `Integer` representing what state of connection the Client is in.
|
An `Integer` representing what state of connection the Client is in.
|
||||||
|
|
||||||
- **0** is idle, meaning the Client has been created but no login attempts have been made.
|
- **0** is idle, meaning the Client has been created but no login attempts have been made.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue