Skip to content

Commit

Permalink
Merge branch 'develop' into refactor-commandsmessages
Browse files Browse the repository at this point in the history
  • Loading branch information
brianferri authored Jan 12, 2024
2 parents 5304d88 + 66a4987 commit e9e1bbe
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions djs-bot/commands/music/skip.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,23 @@ const command = new SlashCommand()
if (status === 1) {
return interaction.reply({
embeds: [
redEmbed(
`There is nothing after [${song.title}](${song.uri}) in the queue.`
),
redEmbed({
desc: `There is nothing after [${song.title}](${song.uri}) in the queue.`
}),
],
});
}

interaction.reply({
const ret = await interaction.reply({
embeds: [
new EmbedBuilder()
.setColor(client.config.embedColor)
.setDescription("✅ | **Skipped!**"),
],
fetchReply: true
});
if (ret) setTimeout(() => ret.delete().catch(client.warn), 20000);
return ret;
});

module.exports = command;

0 comments on commit e9e1bbe

Please sign in to comment.