discord.js command handler with folders code example
Example: commands discord.js
bot.on('message', function(message) {
if(message.author.bot) return;
if(message.content === '/lvl') {
message.channel.send("lvl system.")
}
});
bot.on('message', function(message) {
if(message.author.bot) return;
if(message.content === '/lvl') {
message.channel.send("lvl system.")
}
});