mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Improve docs for voiceConnection/connection
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -233,9 +233,8 @@ class Guild {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the client is connected to any voice channel in this guild, this will be the relevant
|
* If the client is connected to any voice channel in this guild, this will be the relevant VoiceConnection.
|
||||||
* VoiceConnection.
|
* @type {?VoiceConnection}
|
||||||
* @type {VoiceConnection}
|
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get voiceConnection() {
|
get voiceConnection() {
|
||||||
|
|||||||
@@ -35,9 +35,8 @@ class VoiceChannel extends GuildChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If connected to this guild's voice channel and the client is marked as being in this voice channel,
|
* The voice connection for this voice channel, if the client is connected
|
||||||
* then this will give the relevant voice connection.
|
* @type {?VoiceConnection}
|
||||||
* @type {VoiceConnection}
|
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get connection() {
|
get connection() {
|
||||||
|
|||||||
Reference in New Issue
Block a user