New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kazesolo/aswww

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kazesolo/aswww

random nsfw

  • 1.0.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Installation

npm install @kazesolo/aswww

Legacy Function(s)

FunctionDescriptionAmount
nsfwNSFW images (18+ content)1550+ images
hugImages with hugs71 images
kissImages with kisses25 images
cryImages with crying5 images
nomImages with bites6 images

Example(s)

NodeJS:

// aswww //
const aswww = require("@kazesolo/aswww");

// Get Hug Images //
console.log("Hug: " + aswww.hug());

// Get Kiss Images //
console.log("Kiss: " + aswww.kiss());

Discord Bot

// Imports Discord.JS and aswww //
const Discord = require("discord.js");
const aswww = require("@kazesolo/aswww");

// Create New Client //
const client = new Discord.Client();

// Bot Settings //
const settings = {
  prefix: "YOUR_BOT_PREFIX",
  token: "YOUR_BOT_TOKEN",
};

client.on("message", async (message) => {

  // Defines Command //
  var command = message.content.toLowerCase().slice(settings.prefix.length).split(" ")[0];
  
  if (!message.content.startsWith(settings.prefix) || message.author.bot) return;

  if (command == "kiss") {

    // Embed //
    const embed = new Discord.MessageEmbed()
    .setTitle(`${message.author.username} kiss ${message.mentions.users.first().username}`)
    .setImage(aswww.kiss())
    .setFooter(`aswww Top!`)
    return message.channel.send(embed);
  }
  if (command == "hug") {

    // Embed //
    const embed = new Discord.MessageEmbed()
    .setTitle(`${message.author.username} hug ${message.mentions.users.first().username}`)
    .setImage(aswww.hug())
    .setFooter(`aswww Top!`)
    return message.channel.send(embed);
  }
});

client.login(settings.token)

Example Hug Example Kiss Example Cry Example Nom

Keywords

FAQs

Package last updated on 14 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc