mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Add disconnect command
This commit is contained in:
parent
6a02088b04
commit
8340f9b95a
4 changed files with 55 additions and 18 deletions
|
@ -57,7 +57,7 @@ export default class implements Command {
|
|||
}
|
||||
|
||||
// Must be resuming play
|
||||
if (queue.get().length === 0) {
|
||||
if (queue.get().length === 0 && !queue.getCurrent()) {
|
||||
await res.stop(errorMsg('nothing to play'));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue