mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Various bug fixes
This commit is contained in:
parent
15d4e251f2
commit
c058ec95fe
7 changed files with 36 additions and 35 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue