mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Added Client#status and Message#type typedefs (#1571)
* typedef for MessageTypes and linked Client#status to Status * should be singular * typedef for Voiceconnection#status
This commit is contained in:
@@ -198,7 +198,7 @@ class Client extends EventEmitter {
|
||||
|
||||
/**
|
||||
* Current status of the client's connection to Discord
|
||||
* @type {?number}
|
||||
* @type {?Status}
|
||||
* @readonly
|
||||
*/
|
||||
get status() {
|
||||
|
||||
@@ -52,7 +52,7 @@ class VoiceConnection extends EventEmitter {
|
||||
|
||||
/**
|
||||
* The current status of the voice connection
|
||||
* @type {number}
|
||||
* @type {VoiceStatus}
|
||||
*/
|
||||
this.status = Constants.VoiceStatus.AUTHENTICATING;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user