discord command js

JavaScript
bot.on('message', function(message) {
    if(message.author.bot) return;
    if(message.content === '/lvl') {
        message.channel.send("lvl system.")
    }
});
Source

Also in JavaScript: