From b448e771def0eb28b5e6aad252f63500d5a3ca05 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 3 Apr 2021 19:51:10 -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 4893b6e1..b39d3874 100644 --- a/commands/other/screenshot.js +++ b/commands/other/screenshot.js @@ -36,7 +36,7 @@ module.exports = class ScreenshotCommand extends Command { async run(msg, { url }) { try { if (!msg.channel.nsfw) { - const nsfw = await isUrlNSFW(url.href); + const nsfw = await isUrlNSFW(url.href, this.client.adultSiteList); if (nsfw === null) return msg.reply('This site did not respond, or sent an error.'); if (nsfw) return msg.reply('This site is NSFW.'); }