Skip to content

Commit

Permalink
Fix reply message in PlayMusic.cjs and music.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
hegdeadithyak committed Feb 21, 2024
1 parent aa1900b commit 5c4963d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Test/PlayMusic.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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!" });
Expand Down
2 changes: 1 addition & 1 deletion music.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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!" });
Expand Down

0 comments on commit 5c4963d

Please sign in to comment.