From b301393bc926689073fc49ff7854441541f738c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kore=C5=84?= Date: Mon, 29 Dec 2025 18:34:52 +0100 Subject: [PATCH] =?UTF-8?q?pozmienia=C5=82em=20kolejno=C5=9B=C4=87=20wiado?= =?UTF-8?q?mo=C5=9Bci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/forceplay.ts | 3 ++- src/commands/play.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/forceplay.ts b/src/commands/forceplay.ts index 526b394..fe1aaaf 100644 --- a/src/commands/forceplay.ts +++ b/src/commands/forceplay.ts @@ -26,11 +26,12 @@ async function execute(interaction: ChatInputCommandInteraction) { if (input.startsWith("http")) { url = input } else { - url = await search(input) await interaction.editReply(`searching for: ${input}`); + url = await search(input) console.log(input, url) } + await interaction.editReply(`downloading: ${url}`); await forceRequestSong(interaction, url) const msg = getPlayMsg(url) diff --git a/src/commands/play.ts b/src/commands/play.ts index 7edd87d..d47257f 100644 --- a/src/commands/play.ts +++ b/src/commands/play.ts @@ -26,11 +26,12 @@ async function execute(interaction: ChatInputCommandInteraction) { if (input.startsWith("http")) { url = input } else { - url = await search(input) await interaction.editReply(`searching for: ${input}`); + url = await search(input) console.log(input, url) } + await interaction.editReply(`downloading: ${url}`); await requestSong(interaction, url) const msg = getPlayMsg(url)