New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

application.ja

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

application.ja

A very easy to use package which gives you things.

latest
Source
npmnpm
Version
1.1.5
Version published
Maintainers
1
Created
Source

PROJECT APPLICATION

Below are the things that this package offers you.

  • GET RANDOM ADVICE

  • GET RANDOM NEKO IMAGE

  • GET RANDOM ANIME IMAGE(BASED ON ACTION)

  • GET RANDOM MEME

  • GET RANDOM JOKES

  • GET RANDOM STING(BASED ON GIVEN NUMBER)

  • GET RANDOM KPOP SINGER

SETUP

const discord = require("discord.js")
const client = new discord.Client()
const application = require("application.js")
const application = new application();


client.on("ready", () => {
  console.log("Ready to go")
})

client.on("message", async message => {
  if(message.content === "!meme") {
    let data = await random.getMeme()
    message.channel.send(data)
  }
})


client.login("TOKEN")

DOCUMENTATION

getMeme(): Provieds You the JSON embed with meme image and title.

  let data = await random.getMeme()
    message.channel.send(data)

getAdvice(): Provieds You a random advice.

  let data = await random.getAdvice()
    message.channel.send(data)

getString(number): Provieds You a random string, length will be based on the number you gave.

 let data = await random.getString(6)
    message.channel.send(data)

getNeko(): Provieds You a random neko image.

 let data = await random.getNeko()
    message.channel.send(data)

getJoke(): Provieds You a Random Funny Joke.

 let data = await random.getJoke()
    message.channel.send(data)

getAnimeImgURL(type): Provied you a random image url of anime(based on action), availabe actions are "pat", "hug", "waifu", "cry", "kiss", "slap", "smug", "punch"

 let data = await random.getAnimeImgURL("cry")
    message.channel.send(data)

getKpop(): Provide you a Random Kpop singer image and name.

let data = await random.getKpop()
    message.channel.send(data)

Keywords

Sxpherr

FAQs

Package last updated on 25 Jul 2020

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