Update interaction editReply

This commit is contained in:
Marius Begby committed 2023-07-09 13:55:22 +02:00
1 parent 40c5593f24
commit 6e48a83d10
8 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ module.exports = {
),
run: async ({ interaction }) => {
if (!interaction.member.voice.channel) {
return interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setDescription(
@@ -59,7 +59,7 @@ module.exports = {
// TODO: Add a check to see if the queue is empty, and if so, add a message to the embed saying that the track is now playing.
// TODO: YouTube thumbnail not shown? Different url than track.thumbnail?
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor({