mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Improve docs for voiceConnection/connection
This commit is contained in:
parent
a27f6c96bb
commit
e9a7a06d52
3 changed files with 5 additions and 7 deletions
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
|
||||
* VoiceConnection.
|
||||
* @type {VoiceConnection}
|
||||
* If the client is connected to any voice channel in this guild, this will be the relevant VoiceConnection.
|
||||
* @type {?VoiceConnection}
|
||||
* @readonly
|
||||
*/
|
||||
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,
|
||||
* then this will give the relevant voice connection.
|
||||
* @type {VoiceConnection}
|
||||
* The voice connection for this voice channel, if the client is connected
|
||||
* @type {?VoiceConnection}
|
||||
* @readonly
|
||||
*/
|
||||
get connection() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue