Skip to content

Commit

Permalink
Fix seedVoiceConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
Niputi committed May 27, 2019
1 parent 14a68a9 commit 3bc5cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/structures/Guild.js
Expand Up @@ -116,7 +116,8 @@ 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 3bc5cbf

Please sign in to comment.