mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
fix leave on wrong song
This commit is contained in:
parent
212b9f658b
commit
f905d65973
@ -106,7 +106,7 @@ async function playThis (message) {
|
||||
.setTimestamp()
|
||||
.setDescription("<:x:757935515445231651> " + e);
|
||||
message.channel.send(noSong);
|
||||
playbackmanager.stop(discordClient.user.client.voice.connections.first());
|
||||
playbackmanager.stop(isSummendByPlay?discordClient.user.client.voice.connections.first():undefined);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user