discord js bot on message code example
Example: discord.js start
const Discord = require('discord.js');
const client = new Discord.Client();
const token = 'YOUR TOKEN HERE'; // For get a token , go here https://discord.com/developers/applications
client.login(token);