pozmieniałem kolejność wiadomości
This commit is contained in:
@@ -26,11 +26,12 @@ async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
|
||||
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)
|
||||
|
||||
@@ -26,11 +26,12 @@ async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user