From 3be0526b69afbaf388acec002da7fd90176020b3 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Sat, 7 Aug 2021 19:45:32 +0200 Subject: [PATCH] :sparkles: Add link to example bot --- example/music-bot/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/music-bot/index.js b/example/music-bot/index.js index dea4277..5a85701 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -215,7 +215,7 @@ client.on("interactionCreate", async (interaction) => { if (!queue || !queue.playing) return void interaction.followUp({ content: "❌ | No music is being played!" }); const currentTrack = queue.current; const tracks = queue.tracks.slice(0, 10).map((m, i) => { - return `${i + 1}. **${m.title}**`; + return `${i + 1}. **${m.title}** ([link](${m.url}))`; }); return void interaction.followUp({ @@ -228,7 +228,7 @@ client.on("interactionCreate", async (interaction) => { : "" }`, color: 0xff0000, - fields: [{ name: "Now Playing", value: `🎶 | **${currentTrack.title}**` }] + fields: [{ name: "Now Playing", value: `🎶 | **${currentTrack.title}** ([link](${currentTrack.url}))` }] } ] });