aboutsummaryrefslogtreecommitdiff
path: root/commands/skip.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-07-05 23:08:59 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-07-05 23:08:59 -0400
commit1e294d91c3eab7e65936010c8f0c81c4c4f73b96 (patch)
tree26d3310e2df215bdc621e116ad97ed93ab0dab35 /commands/skip.js
parent7630b6ca8445cc8f6fc5dfb5284ab23b7c26be46 (diff)
downloadDLAP-1e294d91c3eab7e65936010c8f0c81c4c4f73b96.tar.gz
DLAP-1e294d91c3eab7e65936010c8f0c81c4c4f73b96.tar.bz2
DLAP-1e294d91c3eab7e65936010c8f0c81c4c4f73b96.zip
Removed help; Updated all the new commands; Finally removed final control panel code
Diffstat (limited to 'commands/skip.js')
-rw-r--r--commands/skip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/skip.js b/commands/skip.js
index 4860209..a49b904 100644
--- a/commands/skip.js
+++ b/commands/skip.js
@@ -27,8 +27,8 @@ export default {
.setName('skip')
.setDescription('Skips the track'),
async execute(interaction, bot) {
+ await interaction.reply({content:`Skipping ${audio}`, ephemeral:true});
player.stop();
- await searchAudio(bot, interaction);
- return await interaction.reply({content:`Skipping ${audio}`, ephemeral:true});
+ return await searchAudio(bot, interaction);
},
}; \ No newline at end of file