Add /remove command to remove track from queue

This commit is contained in:
Marius Begby committed 2023-07-08 17:27:45 +02:00
1 parent 5ab7ea3df3
commit a120bd93b6
2 files changed
+79 -3

No files matched your search

+3 -3
View File
@@ -44,7 +44,7 @@ module.exports = {
if (skipToTrack) {
if (skipToTrack > queue.tracks.data.length) {
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setDescription(
@@ -57,7 +57,7 @@ module.exports = {
const skippedTrack = queue.currentTrack;
queue.node.skipTo(skipToTrack - 1);
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor({
@@ -76,7 +76,7 @@ module.exports = {
const skippedTrack = queue.currentTrack;
queue.node.skip();
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor({