diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index 7029011b6..93cdd9b07 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -53,7 +53,7 @@ class VoiceConnection extends EventEmitter { /** * The current status of the voice connection - * @type {number} + * @type {VoiceStatus} */ this.status = Constants.VoiceStatus.AUTHENTICATING; diff --git a/src/util/Constants.js b/src/util/Constants.js index 4c8fd4b58..f1375454d 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -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 = {