Skip to content

Commit

Permalink
Fix improper call in seedVoiceConnections (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoMoreira99 authored and abalabahaha committed May 29, 2019
1 parent 4874d5e commit 56ffea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Guild.js
Expand Up @@ -116,7 +116,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 56ffea8

Please sign in to comment.