From 87861439ec1aedf09f9d4d61709ca7ee309c0064 Mon Sep 17 00:00:00 2001 From: RadiatedExodus Date: Sat, 29 Jun 2024 23:52:40 +0700 Subject: [PATCH] Int-Fun-Music: Should be using editReply instead of reply --- src/interactions/commands/fun/music.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/interactions/commands/fun/music.ts b/src/interactions/commands/fun/music.ts index f1e7843..921c528 100644 --- a/src/interactions/commands/fun/music.ts +++ b/src/interactions/commands/fun/music.ts @@ -58,7 +58,7 @@ export const Command: MeteoriumChatCommand = { const query = interaction.options.getString("query", true); const channel = interaction.member.voice.channel; if (!channel) - return await interaction.reply({ + return await interaction.editReply({ content: "You are not in a voice channel.", }); @@ -66,7 +66,7 @@ export const Command: MeteoriumChatCommand = { interaction.guild.members.me?.voice.channelId && interaction.member.voice.channelId !== interaction.guild.members.me?.voice.channelId ) - return await interaction.reply({ + return await interaction.editReply({ content: "You are not in the same voice channel.", }); @@ -74,7 +74,7 @@ export const Command: MeteoriumChatCommand = { requestedBy: interaction.user, }); if (!search.hasTracks()) - return await interaction.reply({ + return await interaction.editReply({ content: "No tracks found.", });