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.');