mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -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
|
@ -35,7 +35,7 @@ module.exports = {
|
|||
context.triggerTyping();
|
||||
if(!args.query) return editOrReply(context, {embeds:[createEmbed("warning", context, `Missing Parameter (query).`)]})
|
||||
try{
|
||||
let search = await bing(context, args.query)
|
||||
let search = await bing(context, args.query, context.channel.nsfw)
|
||||
search = search.response
|
||||
|
||||
let pages = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue