mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
docs(VoiceStatus): document name -> value, link in VoiceConnection#status (#3500)
This commit is contained in:
@@ -53,7 +53,7 @@ class VoiceConnection extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The current status of the voice connection
|
* The current status of the voice connection
|
||||||
* @type {number}
|
* @type {VoiceStatus}
|
||||||
*/
|
*/
|
||||||
this.status = Constants.VoiceStatus.AUTHENTICATING;
|
this.status = Constants.VoiceStatus.AUTHENTICATING;
|
||||||
|
|
||||||
|
|||||||
@@ -264,11 +264,11 @@ exports.Status = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The current status of a voice connection. Here are the available statuses:
|
* The current status of a voice connection. Here are the available statuses:
|
||||||
* * CONNECTED
|
* * CONNECTED: 0
|
||||||
* * CONNECTING
|
* * CONNECTING: 1
|
||||||
* * AUTHENTICATING
|
* * AUTHENTICATING: 2
|
||||||
* * RECONNECTING
|
* * RECONNECTING: 3
|
||||||
* * DISCONNECTED
|
* * DISCONNECTED: 4
|
||||||
* @typedef {number} VoiceStatus
|
* @typedef {number} VoiceStatus
|
||||||
*/
|
*/
|
||||||
exports.VoiceStatus = {
|
exports.VoiceStatus = {
|
||||||
|
|||||||
Reference in New Issue
Block a user