Discord.client on
const DiscordJS = require('discord.js');
const client = new DiscordJS.Client();
client.on('message', message => { //Client.on used for channel, server or member events
if (message.content === 'ping') {
message.channel.send('Pong!)
}
})
Hypixel Offical