npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

discord-simple-multipurpose

v0.0.4

Published

discord-simple-multipurpose is an simple multipurpose package and easy to use

Downloads

6

Readme

Discord-simple-multipurpose

discord-simple-multipurpose is an simple multipurpose package and easy to use

Developer

Installing the package ⬇️

npm i discord-simple-multipurpose

Commands 📣

  • Advice
  • Joke
  • Lyrics
  • Meme
  • Quote
  • Neko
  • NekoGif
  • Waifu
  • owoify
  • emojify
  • reverse
  • shuffle
  • DogFact
  • CatFact
  • textToBinary
  • binaryToText
  • ascii

More comming soon :DDD

Example of how to use the command

const Discord = require("discord.js");
const client = new Discord.Client();
const { Multi } = require("discord-simple-multipurpose");
const something = new Multi();

client.on("ready", () => {
  console.log(`Ready! Logged in as ${client.user.tag}!`)
});

client.on("message", async message => {
    if (message.content.startsWith("!neko")) {
    
     let neko = await something.fetchNeko();
     let embed = new Discord.MessageEmbed()
     .setTitle("Neko!")
     .setImage(neko)
     .setColor("RANDOM")
     message.channel.send(embed)
     
   } else if (message.content.startsWith("!Waifu")) {
   
     let Waifu = await something.fetchWaifu();
     let embed = new Discord.MessageEmbed()
     .setTitle("!Waifu")
     .setImage(Waifu)
     .setColor("RANDOM")
     message.channel.send(embed);
     
   }

   client.login("Your token here")
});

Fetching Methods.

fetchAdvice(): Returns random advice.

   let data = await something.fetchAdvice() 
   message.channel.send(data)

fetchJoke(): Returns random joke. Returns data.setup (Setup of the joke) and data.punchline (Punchline of the joke).

   let data = await something.fetchJoke() 
   message.channel.send(`${data.setup}\n${data.punchline}`)

fetchLyrics(song): Returns lyrics of provided song.

   let data = await something.fetchLyrics("Perfect") 
   message.channel.send(data)

fetchMeme(): Returns random meme. Returns data.title (meme title) and data.image (meme image).

   let data = await something.fetchMeme() 
   message.channel.send(`${data.title}\n${data.image}`)

fetchQuote(): Returns random quote.

   let data = await something.fetchQuote() 
   message.channel.send(data)

fetchNeko(): Returns random neko image.

   let data = await something.fetchNeko() 
   message.channel.send(data)

fetchNekoGif(): Returns random neko gif.

   let data = await something.fetchNekoGif() 
   message.channel.send(data)

fetchWaifu(): Returns random waifu image.

   let data = await something.fetchWaifu() 
   message.channel.send(data)

fetchDogFact(): Returns random dog fact.

   let data = await something.fetchDogFact() 
   message.channel.send(data)

fetchCatFact(): Returns random cat fact.

   let data = await something.fetchCatFact() 
   message.channel.send(data)

Text-manipulation methods.

owoify(text): Returns owoified text.

   let data = await something.owoify("hello friends!") 
   message.channel.send(data)

emojify(text): Returns emojified text.

   let data = await something.emojify("something to emojify.") 
   message.channel.send(data)

reverse(text): Returns reversed text.

   let data = await something.reverse("this will be reversed.") 
   message.channel.send(data)

shuffle(text): Returns shuffled text.

   let data = await something.shuffle("some shuffled text.") 
   message.channel.send(data)

textToBinary(text): Returns provided text into binary.

   let data = await something.textToBinary("binary test") 
   message.channel.send(data)

binaryToText(binary): Returns provided binary into text.

   let data = await something.binaryToText("1100010 1101001 1101110") 
   message.channel.send(data)

ascii(text): Returns provided text into ascii.

   let data = await something.ascii("e") 
   message.channel.send(data)

Constructor Methods

const { Multi } = require("discord-simple-multipurpose");
const something = new Multi();

My Discord bot

Multipurpose Bot with 500+ commands zenitsu

Note

Don't forget to install the latest version of it

Developer of the Package

Asjad

Note

The Following Package uses NekoBot Api Nekobot API and Nekos.life to fetch images.