how to make commands in discord.js code example
Example: discord command 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.")
}
});