Add more commands

This commit is contained in:
Myx
2023-07-02 01:54:47 +02:00
parent eccad8d147
commit 398382a7f1
18 changed files with 434 additions and 144 deletions

View File

@@ -27,10 +27,11 @@ async function playCommand(interaction) {
if (musicQueue.getQueue(interaction.guild.id).length > 0) {
musicQueue.removeFromQueue(interaction.guild.id);
musicQueue.addToQueue(interaction.guild.id, song, true);
} else {
musicQueue.addToQueue(interaction.guild.id, song);
}
musicQueue.addToQueue(interaction.guild.id, song);
musicPlayer(
interaction.guild.id,
connection,