example
This commit is contained in:
parent
99f0c585a3
commit
33f0f67506
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ client.on("interaction", async (interaction) => {
|
||||||
return void interaction.followUp({ content: "Could not join your voice channel!" });
|
return void interaction.followUp({ content: "Could not join your voice channel!" });
|
||||||
}
|
}
|
||||||
|
|
||||||
await interaction.followUp({ content: "⏱ | Loading your track..." });
|
await interaction.followUp({ content: `⏱ | Loading your ${searchResult.playlist ? "playlist" : "track"}...` });
|
||||||
searchResult.playlist ? queue.addTracks(searchResult.tracks) : queue.addTrack(searchResult.tracks[0]);
|
searchResult.playlist ? queue.addTracks(searchResult.tracks) : queue.addTrack(searchResult.tracks[0]);
|
||||||
if (!queue.playing) await queue.play();
|
if (!queue.playing) await queue.play();
|
||||||
} else if (interaction.commandName === "volume") {
|
} else if (interaction.commandName === "volume") {
|
||||||
|
|
Loading…
Reference in a new issue