Resolves user-app issue with screenshot

This commit is contained in:
derpystuff 2024-03-25 12:19:54 +01:00
parent 054a6c9513
commit 283d5f3edb

View file

@ -32,7 +32,7 @@ module.exports = {
try {
const t = Date.now();
let ss = await webshot(context, args.url, context.channel.nsfw)
let ss = await webshot(context, args.url, false) // nsfw sites are always blocked
if (ss.response.body.status && ss.response.body.status !== 3) {
if (ss.response.body.image) return await editOrReply(context,