- disable safe search in adult channels

- allow nsfw sites in adult channels
This commit is contained in:
derpystuff 2022-07-06 23:49:20 +02:00
parent 4584ec18d8
commit 8df2949a27
6 changed files with 20 additions and 15 deletions

View file

@ -23,7 +23,7 @@ module.exports = {
try{
const t = Date.now();
let ss = await screenshot(context, args.url)
let ss = await screenshot(context, args.url, context.channel.nsfw)
if(ss.response.body.status && ss.response.body.status !== 3){
if(ss.response.body.image) return await response.edit({