Closed Aw4k3 closed 2 years ago
I am using this in a discord bot and despite the wallpaper() method being in the sfw property, it still has a chance of returning a nsfw wallpaper.
wallpaper()
sfw
Here is the code block where I am using this
case '-wallpaper': NekoClient.sfw.wallpaper().then(image => { console.log(Utils.getTimeStamp() + 'Fetched url ' + image.url); NekoEmbed.setDescription('Wallpaper'); NekoEmbed.setImage(image.url); }).then(fuckyoujavascript => { msg.channel.send(NekoEmbed); }); break;
Same here It almost got my Discord bot banned.
@Aw4k3 @moyshik7
Better use this library, this one includes more sources, and checking all endpoints more time to choose category, so this one more safe
I am using this in a discord bot and despite the
wallpaper()
method being in thesfw
property, it still has a chance of returning a nsfw wallpaper.Here is the code block where I am using this