mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
fix/docs(Client): type status and do not throw an error if accessed before login
This commit is contained in:
@@ -242,12 +242,12 @@ const Endpoints = exports.Endpoints = {
|
||||
|
||||
/**
|
||||
* The current status of the client. Here are the available statuses:
|
||||
* * READY
|
||||
* * CONNECTING
|
||||
* * RECONNECTING
|
||||
* * IDLE
|
||||
* * NEARLY
|
||||
* * DISCONNECTED
|
||||
* * READY: 0
|
||||
* * CONNECTING: 1
|
||||
* * RECONNECTING: 2
|
||||
* * IDLE: 3
|
||||
* * NEARLY: 4
|
||||
* * DISCONNECTED: 5
|
||||
* @typedef {number} Status
|
||||
*/
|
||||
exports.Status = {
|
||||
|
||||
Reference in New Issue
Block a user