mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
autoplay skip
This commit is contained in:
parent
e4f2493d65
commit
a5ed040e46
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Skip extends Command {
|
||||||
|
|
||||||
if (!voice) return message.error("music/play:NO_VOICE_CHANNEL");
|
if (!voice) return message.error("music/play:NO_VOICE_CHANNEL");
|
||||||
if (!queue) return message.error("music/play:NOT_PLAYING");
|
if (!queue) return message.error("music/play:NOT_PLAYING");
|
||||||
if (!queue.songs[1]) return message.error("music/skip:NO_NEXT_SONG");
|
if (!queue.songs[1] || !queue.autoplay) return message.error("music/skip:NO_NEXT_SONG");
|
||||||
|
|
||||||
const embed = new Discord.MessageEmbed()
|
const embed = new Discord.MessageEmbed()
|
||||||
.setAuthor(message.translate("music/skip:SUCCESS"))
|
.setAuthor(message.translate("music/skip:SUCCESS"))
|
||||||
|
|
Loading…
Reference in a new issue