pozmieniałem kolejność wiadomości
This commit is contained in:
@@ -26,11 +26,12 @@ async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
|
|||||||
if (input.startsWith("http")) {
|
if (input.startsWith("http")) {
|
||||||
url = input
|
url = input
|
||||||
} else {
|
} else {
|
||||||
url = await search(input)
|
|
||||||
await interaction.editReply(`searching for: ${input}`);
|
await interaction.editReply(`searching for: ${input}`);
|
||||||
|
url = await search(input)
|
||||||
console.log(input, url)
|
console.log(input, url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await interaction.editReply(`downloading: ${url}`);
|
||||||
await forceRequestSong(interaction, url)
|
await forceRequestSong(interaction, url)
|
||||||
|
|
||||||
const msg = getPlayMsg(url)
|
const msg = getPlayMsg(url)
|
||||||
|
|||||||
@@ -26,11 +26,12 @@ async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
|
|||||||
if (input.startsWith("http")) {
|
if (input.startsWith("http")) {
|
||||||
url = input
|
url = input
|
||||||
} else {
|
} else {
|
||||||
url = await search(input)
|
|
||||||
await interaction.editReply(`searching for: ${input}`);
|
await interaction.editReply(`searching for: ${input}`);
|
||||||
|
url = await search(input)
|
||||||
console.log(input, url)
|
console.log(input, url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await interaction.editReply(`downloading: ${url}`);
|
||||||
await requestSong(interaction, url)
|
await requestSong(interaction, url)
|
||||||
|
|
||||||
const msg = getPlayMsg(url)
|
const msg = getPlayMsg(url)
|
||||||
|
|||||||
Reference in New Issue
Block a user