From 5c4963dbd64933d8dce2d76f62e49fdd1db37108 Mon Sep 17 00:00:00 2001 From: Adithya Hegde Kota Date: Thu, 22 Feb 2024 00:07:56 +0530 Subject: [PATCH] Fix reply message in PlayMusic.cjs and music.cjs --- Test/PlayMusic.cjs | 2 +- music.cjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Test/PlayMusic.cjs b/Test/PlayMusic.cjs index 25d9027e..531b8d9a 100644 --- a/Test/PlayMusic.cjs +++ b/Test/PlayMusic.cjs @@ -98,7 +98,7 @@ client.on("interactionCreate", async interaction => { player.play(resource); connection.subscribe(player); - await interaction.reply({ content: `Playing the song!${url}` }); + await interaction.reply({ content: `Playing the song: ${url}` }); } catch (error) { console.error(error); await interaction.reply({ content: "Error playing the song!" }); diff --git a/music.cjs b/music.cjs index 25d9027e..531b8d9a 100644 --- a/music.cjs +++ b/music.cjs @@ -98,7 +98,7 @@ client.on("interactionCreate", async interaction => { player.play(resource); connection.subscribe(player); - await interaction.reply({ content: `Playing the song!${url}` }); + await interaction.reply({ content: `Playing the song: ${url}` }); } catch (error) { console.error(error); await interaction.reply({ content: "Error playing the song!" });