mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
- disable safe search in adult channels
- allow nsfw sites in adult channels
This commit is contained in:
parent
4584ec18d8
commit
8df2949a27
6 changed files with 20 additions and 15 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue