fix example
This commit is contained in:
parent
395f928e2e
commit
a3dfd671e2
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ client.on("interaction", async (interaction) => {
|
|||
requestedBy: interaction.user,
|
||||
searchEngine: interaction.commandName === "soundcloud" ? QueryType.SOUNDCLOUD_SEARCH : QueryType.AUTO
|
||||
})
|
||||
.catch(Util.noop);
|
||||
.catch(() => {});
|
||||
if (!searchResult || !searchResult.tracks.length) return void interaction.followUp({ content: "No results were found!" });
|
||||
|
||||
const queue = await player.createQueue(interaction.guild, {
|
||||
|
|
Loading…
Reference in a new issue