Wondering what’s next for npm?Check out our public roadmap! »

    cool-random-things
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published

    npm npm install size

    NPM

    cool-random-things

    Installation

    npm i cool-random-things
    

    Below are the things that this package offers you.

    SETUP FOR COOL-RANDOM-THINGS

    const discord = require("discord.js")
    const client = new discord.Client()
    const { Random } = require("cool-random-things") //if you want load the Random Package
    const random = new Random();
    const { Neko } = require("cool-random-things") //if you want load the Neko Package
    const neko = new Neko();
     
    client.on("ready", () => {
      console.log("Ready to go")
    })
     
    client.on("message", async message => {
      if(message.content === "!meme") {
        let img = await random.meme()
        message.channel.send(img)
      }else if(message.content === "!neko"){
      let img = await neko.neko()
      message.channel.send(img)
      });
     
    client.login('TOKEN');

    DOCUMENTATION FOR COOL-RANDOM-THINGS

    WARNING TO MAKE THE CODES WORKS MUST HAVE THIS:

    const { Random } = require("cool-random-things")
    const random = new Random();
    const { Neko } = require("cool-random-things")
    const neko = new Neko();

    meme(): Provides You a Random Funny Memes.

    let img = await random.meme()
    message.channel.send(img)

    bear(): Provides You a Random Bear Images.

    let img = await random.bear()
    message.channel.send(img)

    panda(): Provides You a Random Panda Images.

    let img = await random.panda()
    message.channel.send(img)

    car(): Provides You a Random Car Images.

    let img = await random.car()
    message.channel.send(img)

    smug(): Provides You a Random Smug gif.

    let img = await neko.smug()
    message.channel.send(img)

    baka(): Provides You a Random Baka gif.

    let img = await neko.baka()
    message.channel.send(img)

    tickle(): Provides You a Random Tickle gif.

    let img = await neko.tickle()
    message.channel.send(img)

    slap(): Provides You a Random Slap gif.

    let img = await neko.slap()
    message.channel.send(img)

    poke(): Provides You a Random Poke gif.

    let img = await neko.poke()
    message.channel.send(img)

    pat(): Provides You a Random Pat gif.

    let img = await neko.pat()
    message.channel.send(img)

    neko(): Provides You a Random Neko Images.

    let img = await neko.neko()
    message.channel.send(img)

    nekogif(): Provides You a Random Nekogif gif.

    let img = await neko.nekogif()
    message.channel.send(img)

    cat(): Provides You a Random Cat Images.

    let img = await neko.cat()
    message.channel.send(img)

    lizard(): Provides You a Random Lizard Images.

    let img = await neko.lizard()
    message.channel.send(img)

    kiss(): Provides You a Random Kiss gif.

    let img = await neko.kiss()
    message.channel.send(img)

    hug(): Provides You a Random Hug gif.

    let img = await neko.hug()
    message.channel.send(img)

    feed(): Provides You a Random Feed gif.

    let img = await neko.feed()
    message.channel.send(img)

    cuddle(): Provides You a Random Cuddle gif.

    let img = await neko.cuddle()
    message.channel.send(img)

    foxGirl(): Provides You a Random FoxGirl Images.

    let img = await neko.foxGirl()
    message.channel.send(img)

    kemonomimi(): Provides You a Random Kemonomimi Images.

    let img = await neko.kemonomimi()
    message.channel.send(img)

    holo(): Provides You a Random Holo Images.

    let img = await neko.holo()
    message.channel.send(img)

    dog(): Provides You a Random Dog Images.

    let img = await neko.dog()
    message.channel.send(img)

    goose(): Provides You a Random Goose Images.

    let img = await neko.goose()
    message.channel.send(img)

    gecg(): Provides You a Random Gecg Images.

    let img = await neko.gecg()
    message.channel.send(img)

    avatar(): Provides You a Random Avatar Images.

    let img = await neko.avatar()
    message.channel.send(img)

    waifu(): Provides You a Random Waifu Images.

    let img = await neko.waifu()
    message.channel.send(img)

    why(): Provides You a Random Why Text.

    let text = await neko.why()
    message.channel.send(text)

    Keywords

    Install

    npm i cool-random-things

    DownloadsWeekly Downloads

    5

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    32.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar