From a3dfd671e28eba7b3ce8a850ad132734de4d82dc Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Thu, 24 Jun 2021 14:33:27 +0545 Subject: [PATCH] fix example --- example/music-bot/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {