slash-djs

Crie slash comands mais 'facil' OwO

Usage no npm install needed!

<script type="module">
  import slashDjs from 'https://cdn.skypack.dev/slash-djs';
</script>

README

Como usar

const discord = require("discord.js")
const bot = new discord.Client()
const slash = require("slash-djs")
bot.on('message', async(message) => {
    if (message.content === "prefix!lol") {
const Slash = new slash(bot)
console.log(Slash.create(null, "command", "wow! a command"))
}
}
bot.login("bot Token")