From 1a0764a3226b7ec5d656d9ff1b3066c14e7a26d8 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 21 Mar 2021 20:58:59 -0400 Subject: [PATCH] Fix --- commands/other/screenshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/other/screenshot.js b/commands/other/screenshot.js index 0c3922dc..73433778 100644 --- a/commands/other/screenshot.js +++ b/commands/other/screenshot.js @@ -40,7 +40,7 @@ module.exports = class ScreenshotCommand extends Command { const parsedNewURL = new URL(newURL); if (this.client.adultSiteList.includes(parsedNewURL.host)) nsfw = true; } catch { - nsfw = false; + return msg.reply('This site did not respond, or sent an error.'); } } if (nsfw) return msg.reply('This site is NSFW.');