docs(VoiceStatus): document name -> value, link in VoiceConnection#status (#3500)

This commit is contained in:
SpaceEEC 2019-10-27 10:26:08 +01:00 committed by GitHub
parent 91600a6946
commit 18613526bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -53,7 +53,7 @@ class VoiceConnection extends EventEmitter {
/**
* The current status of the voice connection
* @type {number}
* @type {VoiceStatus}
*/
this.status = Constants.VoiceStatus.AUTHENTICATING;

View file

@ -264,11 +264,11 @@ exports.Status = {
/**
* The current status of a voice connection. Here are the available statuses:
* * CONNECTED
* * CONNECTING
* * AUTHENTICATING
* * RECONNECTING
* * DISCONNECTED
* * CONNECTED: 0
* * CONNECTING: 1
* * AUTHENTICATING: 2
* * RECONNECTING: 3
* * DISCONNECTED: 4
* @typedef {number} VoiceStatus
*/
exports.VoiceStatus = {