1.0.0 • Published 3 years ago
cmds-discordjs v1.0.0
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")
1.0.0
3 years ago