1.0.0 • Published 3 years ago

cmds-discordjs v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Cmds Discordjs

Cmds Discordjs is a package that make discord.js command creating more easy

Example

const discord = require("discord")
const cmdsdsc = require("cmds-discordjs")

const client = new discord.Client({Intents: [discord.Intents.FLAGS.GUILD_MESSAGES]})

client.on("ready", function() {
    console.log(`Logged in as ${client.user.username}#${client.user.discriminator}`)
    const ping = new cmdsdsc.Command("ping", [], function(info) {
        info.msg.channel.send("pong")
    })
})

client.login("TOKEN")