discordjsbot-commands

A package to make discord.js commands easily.

Usage no npm install needed!

<script type="module">
  import discordjsbotCommands from 'https://cdn.skypack.dev/discordjsbot-commands';
</script>

README

Discordjsbot-commands

A package made for discord.js library to make commands easier!

Features of this package -

  • GET RANDOM MEME
  • GET RANDOM ADVICE
  • GET RANDOM NEKO IMAGE
  • GET RANDOM JOKES
  • GET RANDOM QUOTE
  • GET RANDOM KPOP SINGER
  • GET RANDOM FACT
  • GET RANDOM ANIMAL IMAGES & FACTS

EXAMPLE

const discord = require("discord.js")
const client = new discord.Client()
const { Commands } = require("discordjsbot-commands")
const commands = new Commands();


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

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


client.login("YOUR BOT'S TOKEN")

DOCUMENTATION

The documentation for the package can be found here.

Got any issues with the package ?

Feel free to join my server! => Tech Wizard's Official

More updates soon, Make sure to come back.