mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-04-19 21:03:56 +02:00
Always autoplay rather than alerting that it is paused
This commit is contained in:
parent
b91e072e2f
commit
3924c8007c
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ export default class implements Command {
|
||||||
await player.connect(targetVoiceChannel);
|
await player.connect(targetVoiceChannel);
|
||||||
|
|
||||||
if (player.status === STATUS.PAUSED && queueOldSize) {
|
if (player.status === STATUS.PAUSED && queueOldSize) {
|
||||||
await msg.channel.send('joined, but I\'m paused, use a lonely `-p` to resume playback');
|
// Resume playing from queue after being paused
|
||||||
|
await player.play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue