Code:
client.on('message', message => {
if(message.content === '!hello'){
message.channel.sendMessage('Hello there, ' + message.author.userame);
}
Now start the bot and type "!hello" on your discord server and your bot should say "Hello there, (your name).