This commit is contained in:
Dragon Fire
2021-03-21 20:58:59 -04:00
parent c964d4ec48
commit 1a0764a322
+1 -1
View File
@@ -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.');