mirror of
https://github.com/danbulant/discord.js
synced 2026-06-17 13:41:29 +00:00
VoiceChannel#full fix on no limit channel for joinable (#1106)
* VoiceChannel#full fix on no limit channel for joinable * Update VoiceChannel.js
This commit is contained in:
parent
f8b9bf6884
commit
93d8ec3e87
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class VoiceChannel extends GuildChannel {
|
|||
* @type {boolean}
|
||||
*/
|
||||
get full() {
|
||||
return this.members.size >= this.userLimit;
|
||||
return this.userLimit > 0 && this.members.size >= this.userLimit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue