diff --git a/example/music-bot/index.js b/example/music-bot/index.js index 41a6286..f8302fa 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -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, {