Various bug fixes

This commit is contained in:
Max Isom 2020-03-17 19:42:28 -05:00
parent 15d4e251f2
commit c058ec95fe
7 changed files with 36 additions and 35 deletions

View file

@ -268,7 +268,10 @@ export default class implements Command {
if (this.playerManager.get(msg.guild!.id).voiceConnection === null) {
await this.playerManager.get(msg.guild!.id).connect(targetVoiceChannel);
}
if (this.queueManager.get(msg.guild!.id).size() === 0) {
// Only auto-play on first song added
await this.playerManager.get(msg.guild!.id).play();
}
}