Skip to content

Commit

Permalink
Fix seedVoiceConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoMoreira99 committed May 13, 2019
1 parent e6208fa commit 8ca53d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Guild.js
Expand Up @@ -113,7 +113,7 @@ class Guild extends Base {
continue;
}
if(client.options.seedVoiceConnections && voiceState.id === client.user.id && !client.voiceConnections.get(this.id)) {
process.nextTick(() => this.shard.client.joinVoiceChannel(voiceState.channel_id, false));
process.nextTick(() => this.shard.client.joinVoiceChannel(voiceState.channel_id));
}
}
}
Expand Down

0 comments on commit 8ca53d5

Please sign in to comment.