mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
Remove even more stuff from web dists
This commit is contained in:
@@ -78,7 +78,6 @@ class ClientVoiceManager {
|
||||
*/
|
||||
joinChannel(channel) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (this.client.browser) throw new Error('Voice connections are not available in browsers.');
|
||||
if (this.pending.get(channel.guild.id)) throw new Error('Already connecting to this guild\'s voice server.');
|
||||
if (!channel.joinable) throw new Error('You do not have permission to join this voice channel.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user