From 1d164d1864a13eeb1f5fb9e033422d25de99b4dd Mon Sep 17 00:00:00 2001 From: Arc <90333108+lastarc@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:39:05 +0100 Subject: [PATCH] feat: return silently when instagram is disabled --- bot/commands/media/instagram.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/commands/media/instagram.js b/bot/commands/media/instagram.js index d72e9bb..6e376d0 100644 --- a/bot/commands/media/instagram.js +++ b/bot/commands/media/instagram.js @@ -29,7 +29,6 @@ module.exports = { console.log({ videoUrl, force }); if (configStore.getOr('instagram.enabled', 'true') !== 'true') { - await interaction.reply('Instagram support is disabled'); return; } @@ -116,4 +115,4 @@ module.exports = { const embeddableUrl = await EmbedProxyClient.add(vurl, parseInt(vwidth, 10), parseInt(vheight, 10)); await replyMsg.edit(`${embeddableUrl}`); }, -}; \ No newline at end of file +};