mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-21 12:27:03 -04:00
screenshot
This commit is contained in:
parent
3c180acdf1
commit
809409920e
3 changed files with 16 additions and 17 deletions
|
@ -94,4 +94,12 @@ module.exports.aiWallpaper = async function(context, prompt, style){
|
|||
prompt,
|
||||
style
|
||||
})
|
||||
}
|
||||
|
||||
// PEACOCK
|
||||
module.exports.webshot = async function(context, url, allowAdultContent = false){
|
||||
return await request(ObeliskApi.WEBSHOT, "POST", {}, {
|
||||
url,
|
||||
allow_adult: allowAdultContent
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue